]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit413a6d335461d6911316864a33001341f3d0e17e
treeb7ffa764ccaa88e07753f9a75d837ea47ea9ea01
parent860edfdc26deb7cd77023af153ca2e9079b8b224
[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