diff options
author | Paul E. McKenney <[email protected]> | 2012-02-02 15:42:04 -0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2012-02-21 09:06:13 -0800 |
commit | 8a2ecf474d3ee8dd5d001490349e422cec52f39f (patch) | |
tree | aa706d632a059dd10d9305cc6abbea5889a839d9 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 29e37d814188ac8d60f2120583704d3ef6d634b4 (diff) |
rcu: Add RCU_NONIDLE() for idle-loop RCU read-side critical sections
RCU, RCU-bh, and RCU-sched read-side critical sections are forbidden
in the inner idle loop, that is, between the rcu_idle_enter() and the
rcu_idle_exit() -- RCU will happily ignore any such read-side critical
sections. However, things like powertop need tracepoints in the inner
idle loop.
This commit therefore provides an RCU_NONIDLE() macro that can be used to
wrap code in the idle loop that requires RCU read-side critical sections.
Suggested-by: Steven Rostedt <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Acked-by: Deepthi Dharwar <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions