]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Pull TINY_RCU dyntick-idle tracing into non-idle region
authorPaul E. McKenney <paul.mckenney@linaro.org>
Wed, 11 Jul 2012 07:24:57 +0000 (00:24 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 23 Jul 2012 15:29:07 +0000 (08:29 -0700)
commitb4862b8207ab50342407bab3dea8dc126034c6c3
treef52c21fb6fe408c9e4c7c7e4646f6e9ae4a019c3
parentf8353f908cfae8faafd5cc3cb78d916903ac4f01
rcu: Pull TINY_RCU dyntick-idle tracing into non-idle region

Because TINY_RCU's idle detection keys directly off of the nesting
level, rather than from a separate variable as in TREE_RCU, the
TINY_RCU dyntick-idle tracing on transition to idle must happen
before the change to the nesting level.  This commit therefore makes
this change by passing the desired new value (rather than the old value)
of the nesting level in to rcu_idle_enter_common().

Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutiny.c