diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-07-16 12:42:36 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2012-08-13 17:01:06 +0200 |
commit | 2a1d446019f9a5983ec5a335b95e8593fdb6fa2e (patch) | |
tree | d4867984d3655cc2e0805534601b94c7ab92bcd7 /kernel/smpboot.c | |
parent | rcu: Yield simpler (diff) | |
download | linux-2a1d446019f9a5983ec5a335b95e8593fdb6fa2e.tar.xz 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