rcu: Don't check irq nesting from rcu idle entry/exit
authorFrederic Weisbecker <fweisbec@gmail.com>
Tue, 29 Nov 2011 00:18:56 +0000 (16:18 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sun, 11 Dec 2011 18:32:07 +0000 (10:32 -0800)
commitb6fc6020140db437069d5bec447858fcfd64d31c
tree43b4f6aa420bd636a30116443f2417cd2176a679
parent7cb92499000e3c86dae653077b1465458a039ef6
rcu: Don't check irq nesting from rcu idle entry/exit

Because tasks do not nest, rcu_idle_enter() and rcu_idle_exit() do
not need to check for nesting.  This commit therefore moves nesting
checks from rcu_idle_enter_common() to rcu_irq_exit() and from
rcu_idle_exit_common() to rcu_irq_enter().

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutree.c