stop_machine: Store task reference in a separate per cpu variable
authorThomas Gleixner <tglx@linutronix.de>
Thu, 31 Jan 2013 12:11:13 +0000 (12:11 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 14 Feb 2013 14:29:37 +0000 (15:29 +0100)
commit860a0ffaa3e1a9cf0ebb5f43d6a2a2ce67463e93
tree004c5b928e59605276609459d92db21bb41204e3
parent7d7e499f7333f68b7e7f67d14b9c1480913b4afb
stop_machine: Store task reference in a separate per cpu variable

To allow the stopper thread being managed by the smpboot thread
infrastructure separate out the task storage from the stopper data
structure.

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.626690384@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/stop_machine.c