Commit e1459a5
Peter Zijlstra
sched: Teach dequeue_task() about special task states
Since special task states must not suffer spurious wakeups, and the
proposed delayed dequeue can cause exactly these (under some boundary
conditions), propagate this knowledge into dequeue_task() such that it
can do the right thing.
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Valentin Schneider <[email protected]>
Tested-by: Valentin Schneider <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]1 parent a1c4466 commit e1459a5
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6530 | 6530 | | |
6531 | 6531 | | |
6532 | 6532 | | |
| 6533 | + | |
| 6534 | + | |
6533 | 6535 | | |
6534 | 6536 | | |
6535 | 6537 | | |
6536 | 6538 | | |
6537 | 6539 | | |
| 6540 | + | |
| 6541 | + | |
| 6542 | + | |
6538 | 6543 | | |
6539 | 6544 | | |
6540 | 6545 | | |
| |||
6546 | 6551 | | |
6547 | 6552 | | |
6548 | 6553 | | |
6549 | | - | |
| 6554 | + | |
6550 | 6555 | | |
6551 | 6556 | | |
6552 | 6557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2248 | 2248 | | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | | - | |
| 2251 | + | |
2252 | 2252 | | |
2253 | 2253 | | |
2254 | 2254 | | |
| 2255 | + | |
2255 | 2256 | | |
2256 | 2257 | | |
2257 | 2258 | | |
| |||
0 commit comments