commit | 3802290628348674985d14914f9bfee7b9084548 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Wed Dec 16 18:04:37 2009 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Wed Dec 16 19:01:56 2009 +0100 |
tree | b6b513fa5651f570013f3eff86e843a9d52d1dcb | |
parent | e2912009fb7b715728311b0d8fe327a1432b3f79 [diff] |
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>