summaryrefslogtreecommitdiffstats
path: root/kernel/sys.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-08-21 03:29:32 +0200
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2011-09-29 06:38:48 +0200
commite90c53d3e238dd0b7b02964370e8fece1778df96 (patch)
tree23e5b8623c2c37bd8a4656c66266209872f80701 /kernel/sys.c
parentrcu: Wire up RCU_BOOST_PRIO for rcutree (diff)
downloadlinux-e90c53d3e238dd0b7b02964370e8fece1778df96.tar.xz
linux-e90c53d3e238dd0b7b02964370e8fece1778df96.zip
rcu: Remove rcu_needs_cpu_flush() to avoid false quiescent states
The purpose of rcu_needs_cpu_flush() was to iterate on pushing the current grace period in order to help the current CPU enter dyntick-idle mode. However, this can result in failures if the CPU starts entering dyntick-idle mode, but then backs out. In this case, the call to rcu_pending() from rcu_needs_cpu_flush() might end up announcing a non-existing quiescent state. This commit therefore removes rcu_needs_cpu_flush() in favor of letting the dyntick-idle machinery at the end of the softirq handler push the loop along via its call to rcu_pending(). Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/sys.c')
0 files changed, 0 insertions, 0 deletions