aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched_rt.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2009-12-08 15:24:16 -0500
committerIngo Molnar <mingo@elte.hu>2009-12-09 04:01:06 -0500
commit3160568371da441b7f2fb57f2f1225404207e8f2 (patch)
treebf717db23c352fe14138863157433a79f5edf3e6 /kernel/sched_rt.c
parent6ad4c18884e864cf4c77f9074d3d1816063f99cd (diff)
sched: Protect task->cpus_allowed access in sched_getaffinity()
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>
Diffstat (limited to 'kernel/sched_rt.c')
0 files changed, 0 insertions, 0 deletions