diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-07-11 00:24:57 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-09-23 07:42:49 -0700 |
commit | 818615c4cde2a71a5857007b134cce89d506cc3f (patch) | |
tree | 71204f4c20bac45df7875169d9baaa3953c0aec6 /kernel/sys.c | |
parent | e3ebfb96f396731ca2d0b108785d5da31b53ab00 (diff) |
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().
[ paulmck: Add fix for wrong-variable bug spotted by
Michael Wang <wangyun@linux.vnet.ibm.com>. ]
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions