diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-07-16 10:42:36 +0000 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-13 17:01:06 +0200 |
commit | 2a1d446019f9a5983ec5a335b95e8593fdb6fa2e (patch) | |
tree | d4867984d3655cc2e0805534601b94c7ab92bcd7 /kernel/smpboot.c | |
parent | 5d01bbd111d6ff9ea9d9847774f66dff39633776 (diff) | |
download | linux-2a1d446019f9a5983ec5a335b95e8593fdb6fa2e.tar.gz linux-2a1d446019f9a5983ec5a335b95e8593fdb6fa2e.tar.bz2 linux-2a1d446019f9a5983ec5a335b95e8593fdb6fa2e.zip |
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/smpboot.c')
0 files changed, 0 insertions, 0 deletions