git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ad4c18
)
sched: Protect task->cpus_allowed access in sched_getaffinity()
author
Thomas Gleixner
<tglx@linutronix.de>
Tue, 8 Dec 2009 20:24:16 +0000
(20:24 +0000)
committer
Ingo Molnar
<mingo@elte.hu>
Wed, 9 Dec 2009 09:01:06 +0000
(10:01 +0100)
sched_getaffinity() is not protected against a concurrent
modification of the tasks affinity.
Serialize the access with task_rq_lock(task).
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <
20091208202026
.
769251187
@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
No differences found