]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nohz_full: Force RCU's grace-period kthreads onto timekeeping CPU
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Sat, 22 Jun 2013 00:10:40 +0000 (17:10 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 15 Jul 2013 23:58:37 +0000 (16:58 -0700)
commit0f791c956aa26d6d8142f7b3e7a9fbd8bdeffcd0
treec24ded383600c6fbccbf3261ce077e973517b1d9
parent6707e055acc1377982edd8e3382064d90e728afe
nohz_full: Force RCU's grace-period kthreads onto timekeeping CPU

Because RCU's quiescent-state-forcing mechanism is used to drive the
full-system-idle state machine, and because this mechanism is executed
by RCU's grace-period kthreads, this commit forces these kthreads to
run on the timekeeping CPU (tick_do_timer_cpu).  To do otherwise would
mean that the RCU grace-period kthreads would force the system into
non-idle state every time they drove the state machine, which would
be just a bit on the futile side.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
kernel/rcutree.c
kernel/rcutree.h
kernel/rcutree_plugin.h