[PATCH] kthread: convert stop_machine into a kthread
authorSerge E. Hallyn <serue@us.ibm.com>
Sun, 25 Jun 2006 12:49:08 +0000 (05:49 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:22 +0000 (10:01 -0700)
commit8bdd1d1250d55afe403ac4affa6ccc5f9e60468f
treeb7ffa764ccaa88e07753f9a75d837ea47ea9ea01
parent2b943cf09d75c0dfbfd22548988df48f6c24c727
[PATCH] kthread: convert stop_machine into a kthread

- Update stop_machine.c to spawn stop_machine as kthreads rather than the
  deprecated kernel_threads.

- Update stop_machine to use the more efficient kthread_bind() before
  running task in place of set_cpus_allowed() after.

[akpm@osdl.org: remove now-wrong set_cpus_allowed()]
Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/stop_machine.c