diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2009-12-17 12:16:31 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-12-17 12:22:46 (GMT) |
commit | 077614ee1e93245a3b9a4e1213659405dbeb0ba6 (patch) | |
tree | 246e441967d7973d9e3addc6bade207db86d2575 /fs/libfs.c | |
parent | e1781538cf5c870ab696e9b8f0a5c498d3900f2f (diff) | |
download | linux-fsl-qoriq-077614ee1e93245a3b9a4e1213659405dbeb0ba6.tar.xz |
sched: Fix broken assertion
There's a preemption race in the set_task_cpu() debug check in
that when we get preempted after setting task->state we'd still
be on the rq proper, but fail the test.
Check for preempted tasks, since those are always on the RQ.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20091217121830.137155561@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'fs/libfs.c')
0 files changed, 0 insertions, 0 deletions