• P
    rcu: Further cleanups of use of lastcomp · 560d4bc0
    Paul E. McKenney 提交于
    Now that a copy of the rsp->completed flag is available in all
    rcu_node structures, make full use of it.  It is still
    legitimate to access rsp->completed while holding the root
    rcu_node structure's lock, however.
    
    Also, tighten up force_quiescent_state()'s checks for end of
    current grace period.
    Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: laijs@cn.fujitsu.com
    Cc: dipankar@in.ibm.com
    Cc: mathieu.desnoyers@polymtl.ca
    Cc: josh@joshtriplett.org
    Cc: dvhltc@us.ibm.com
    Cc: niv@us.ibm.com
    Cc: peterz@infradead.org
    Cc: rostedt@goodmis.org
    Cc: Valdis.Kletnieks@vt.edu
    Cc: dhowells@redhat.com
    LKML-Reference: <1258170699933-git-send-email->
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    560d4bc0
rcutree.c 51.1 KB