]> Git Repo - linux.git/commit
smpboot: Allow selfparking per cpu threads
authorThomas Gleixner <[email protected]>
Thu, 31 Jan 2013 12:11:12 +0000 (12:11 +0000)
committerThomas Gleixner <[email protected]>
Thu, 14 Feb 2013 14:29:37 +0000 (15:29 +0100)
commit7d7e499f7333f68b7e7f67d14b9c1480913b4afb
tree6924ef4eb2a08d7129dc1620d1a557e484df3680
parent211b0cdc7dc574e5e756bdf1cc2f4a16b7f6e07e
smpboot: Allow selfparking per cpu threads

The stop machine threads are still killed when a cpu goes offline. The
reason is that the thread is used to bring the cpu down, so it can't
be parked along with the other per cpu threads.

Allow a per cpu thread to be excluded from automatic parking, so it
can park itself once it's done

Add a create callback function as well.

Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rusty Russell <[email protected]>
Cc: Paul McKenney <[email protected]>
Cc: Srivatsa S. Bhat <[email protected]>
Cc: Arjan van de Veen <[email protected]>
Cc: Paul Turner <[email protected]>
Cc: Richard Weinberger <[email protected]>
Cc: Magnus Damm <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
include/linux/smpboot.h
kernel/smpboot.c
This page took 0.057127 seconds and 4 git commands to generate.