stop_machine: Use smpboot threads
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Jan 2013 12:11:14 +0000 (12:11 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 14 Feb 2013 14:29:38 +0000 (15:29 +0100)
commit14e568e78f6f80ca1e27256641ddf524c7dbdc51
tree1f75f09c7f8adfa6dd55ef9bd0b547fcaf700f45
parent860a0ffaa3e1a9cf0ebb5f43d6a2a2ce67463e93
stop_machine: Use smpboot threads

Use the smpboot thread infrastructure. Mark the stopper thread
selfparking and park it after it has finished the take_cpu_down()
work.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul McKenney <paulmck@linux.vnet.ibm.com>
Cc: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Arjan van de Veen <arjan@infradead.org>
Cc: Paul Turner <pjt@google.com>
Cc: Richard Weinberger <rw@linutronix.de>
Cc: Magnus Damm <magnus.damm@gmail.com>
Link: http://lkml.kernel.org/r/20130131120741.686315164@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/cpu.c
kernel/stop_machine.c