diff options
author | 2009-12-16 18:04:37 +0100 | |
---|---|---|
committer | 2009-12-16 19:01:56 +0100 | |
commit | 3802290628348674985d14914f9bfee7b9084548 (patch) | |
tree | b6b513fa5651f570013f3eff86e843a9d52d1dcb /lib/debugobjects.c | |
parent | sched: Ensure set_task_cpu() is never called on blocked tasks (diff) | |
download | wireguard-linux-3802290628348674985d14914f9bfee7b9084548.tar.xz wireguard-linux-3802290628348674985d14914f9bfee7b9084548.zip |
sched: Fix sched_exec() balancing
Since we access ->cpus_allowed without holding rq->lock we need
a retry loop to validate the result, this comes for near free
when we merge sched_migrate_task() into sched_exec() since that
already does the needed check.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <20091216170517.884743662@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions