rcu: Make rcu_enter_nohz() pay attention to nesting
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 16 May 2011 21:27:31 +0000 (14:27 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 26 May 2011 16:42:22 +0000 (09:42 -0700)
commit4305ce7894dd38b0633bfc8978437320119223bd
treeeafe4497236f8dd4ddfdf90fe06a5377912a9c35
parentb5904090c754327ed6c2ecaefed4f7d473df393f
rcu: Make rcu_enter_nohz() pay attention to nesting

The old version of rcu_enter_nohz() forced RCU into nohz mode even if
the nesting count was non-zero.  This change causes rcu_enter_nohz()
to hold off for non-zero nesting counts.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c