summaryrefslogtreecommitdiffstats
path: root/kernel/rcu/update.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-02-24 20:05:36 +0100
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2015-02-27 01:04:37 +0100
commit5871968d531f39c23a8e6c69525bb705bca52e04 (patch)
tree059ed811b5da15952bcb06844ecfcb437070be6b /kernel/rcu/update.c
parentrcu: Fixes to NO_HZ_FULL sysidle accounting (diff)
downloadlinux-5871968d531f39c23a8e6c69525bb705bca52e04.tar.xz
linux-5871968d531f39c23a8e6c69525bb705bca52e04.zip
rcu: Tighten up affinity and check for sysidle
If the RCU grace-period kthread invoking rcu_sysidle_check_cpu() happens to be running on the tick_do_timer_cpu initially, then rcu_bind_gp_kthread() won't bind it. This kthread might then migrate before invoking rcu_gp_fqs(), which will trigger the WARN_ON_ONCE() in rcu_sysidle_check_cpu(). This commit therefore makes rcu_bind_gp_kthread() do the binding even if the kthread is currently on the same CPU. Because this incurs added overhead, this commit also causes each RCU grace-period kthread to invoke rcu_bind_gp_kthread() once at boot rather than at the beginning of each grace period. And as long as rcu_bind_gp_kthread() is being modified, this commit eliminates its #ifdef. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/update.c')
0 files changed, 0 insertions, 0 deletions