• Paul E. McKenney's avatar
    rcu: Fix thinko, actually initialize full tree · 49e29126
    Paul E. McKenney authored
    Commit de078d87 ("rcu: Need to update rnp->gpnum if preemptable RCU
    is to be reliable") repeatedly and incorrectly initializes the root
    rcu_node structure's ->gpnum field rather than initializing the
    ->gpnum field of each node in the tree.  Fix this.  Also add an
    additional consistency check to catch this in the future.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
    Cc: laijs@cn.fujitsu.com
    Cc: dipankar@in.ibm.com
    Cc: akpm@linux-foundation.org
    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
    LKML-Reference: <125329262011-git-send-email->
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    49e29126
rcutree_plugin.h 15.5 KB