Remove kthread_bind() call from _cpu_down()
authorGautham R Shenoy <[email protected]>
Wed, 9 May 2007 09:34:41 +0000 (02:34 -0700)
committerLinus Torvalds <[email protected]>
Wed, 9 May 2007 19:30:53 +0000 (12:30 -0700)
commit7b0834c26fd796c79dfcc3939ed2b9122b75246f
tree870eb42cd02b9012fd0ab06d7efb5e7596376bad
parent10ab825bdef8df510f99c703a5a2d9b13a4e31a5
Remove kthread_bind() call from _cpu_down()

We are anyway kthread_stop()ping other per-cpu kernel threads after
move_task_off_dead_cpu(), so we can do it with the stop_machine_run thread
as well.

I just checked with Vatsa if there was any subtle reason why they
had put in the kthread_bind() in cpu.c. Vatsa cannot seem to recollect
any and I can't see any. So let us just remove the kthread_bind.

Signed-off-by: Gautham R Shenoy <[email protected]>
Cc: Oleg Nesterov <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
kernel/cpu.c