diff options
author | Kirill Korotaev <dev@sw.ru> | 2006-06-27 11:54:32 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-28 02:32:44 +0200 |
commit | efc30814a88bdbe2bfe4ac94de2eb089ad80bee3 (patch) | |
tree | 1134d7ccda13c09cf426af0524c13633292eac5b /kernel/uid16.c | |
parent | [PATCH] unnecessary long index i in sched (diff) | |
download | linux-efc30814a88bdbe2bfe4ac94de2eb089ad80bee3.tar.xz linux-efc30814a88bdbe2bfe4ac94de2eb089ad80bee3.zip |
[PATCH] sched: CPU hotplug race vs. set_cpus_allowed()
There is a race between set_cpus_allowed() and move_task_off_dead_cpu().
__migrate_task() doesn't report any err code, so task can be left on its
runqueue if its cpus_allowed mask changed so that dest_cpu is not longer a
possible target. Also, chaning cpus_allowed mask requires rq->lock being
held.
Signed-off-by: Kirill Korotaev <dev@openvz.org>
Acked-By: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/uid16.c')
0 files changed, 0 insertions, 0 deletions