diff options
author | Paul E. McKenney <[email protected]> | 2011-08-14 15:56:54 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2011-09-28 21:38:42 -0700 |
commit | 06ae115a1d551cd952d80df06eaf8b5153351875 (patch) | |
tree | 858163c4983a7cc92bffab2267597f3bb802071b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 9bc8b5586f94be6391458074ecbba8827ba8ba9d (diff) |
rcu: Avoid having just-onlined CPU resched itself when RCU is idle
CPUs set rdp->qs_pending when coming online to resolve races with
grace-period start. However, this means that if RCU is idle, the
just-onlined CPU might needlessly send itself resched IPIs. Adjust
the online-CPU initialization to avoid this, and also to correctly
cause the CPU to respond to the current grace period if needed.
Signed-off-by: Paul E. McKenney <[email protected]>
Tested-by: Josh Boyer <[email protected]>
Tested-by: Christian Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions