aboutsummaryrefslogtreecommitdiff
path: root/include/asm-alpha/spinlock.h
diff options
context:
space:
mode:
authorKirill Korotaev <[email protected]>2006-06-27 02:54:32 -0700
committerLinus Torvalds <[email protected]>2006-06-27 17:32:44 -0700
commitefc30814a88bdbe2bfe4ac94de2eb089ad80bee3 (patch)
tree1134d7ccda13c09cf426af0524c13633292eac5b /include/asm-alpha/spinlock.h
parentcc94abfcbc9fed0048365ce1fb8dc81353408bf8 (diff)
[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 <[email protected]> Acked-By: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/asm-alpha/spinlock.h')
0 files changed, 0 insertions, 0 deletions