commit | 77e38ed347162423c6b72e06c865a121081c2bb6 | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Sun Apr 25 21:04:29 2010 -0700 |
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | Mon May 10 11:08:35 2010 -0700 |
tree | 328b746af71b47c4af97e6ea06dc24b12528a955 | |
parent | d14aada8e20bdf81ffd43f433b123972cf575b32 [diff] |
rcu: RCU_FAST_NO_HZ must check RCU dyntick state The current version of RCU_FAST_NO_HZ reproduces the old CLASSIC_RCU dyntick-idle bug, as it fails to detect CPUs that have interrupted or NMIed out of dyntick-idle mode. Fix this by making rcu_needs_cpu() check the state in the per-CPU rcu_dynticks variables, thus correctly detecting the dyntick-idle state from an RCU perspective. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>