sched: Ensure the migration task doesn't go away during use
authorPeter Zijlstra <a.p.zijlstra@chello.nl>
Tue, 21 Jul 2009 11:56:38 +0000 (13:56 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 2 Aug 2009 12:26:15 +0000 (14:26 +0200)
commit693525e3bea25cf2ee6cf2b862ba7c148e891df2
tree7bb3ba6262c1adad1ffb8a52df9ff0924caec76a
parent8f48894fcc89ddec62e1762f73a0825793e59e91
sched: Ensure the migration task doesn't go away during use

Like sched_migrate_task(), set_cpus_allowed_ptr() should hold
onto the migration thread too.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/sched.c