summaryrefslogtreecommitdiffstats
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-07-16 10:42:36 +0000
committerThomas Gleixner <tglx@linutronix.de>2012-08-13 17:01:06 +0200
commit2a1d446019f9a5983ec5a335b95e8593fdb6fa2e (patch)
treed4867984d3655cc2e0805534601b94c7ab92bcd7 /kernel/cpu.c
parent5d01bbd111d6ff9ea9d9847774f66dff39633776 (diff)
downloadlinux-2a1d446019f9a5983ec5a335b95e8593fdb6fa2e.tar.bz2
kthread: Implement park/unpark facility
To avoid the full teardown/setup of per cpu kthreads in the case of cpu hot(un)plug, provide a facility which allows to put the kthread into a park position and unpark it when the cpu comes online again. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Link: http://lkml.kernel.org/r/20120716103948.236618824@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions