Commit f12e148
Peter Zijlstra
sched/fair: Prepare pick_next_task() for delayed dequeue
Delayed dequeue's natural end is when it gets picked again. Ensure
pick_next_task() knows what to do with delayed tasks.
Note, this relies on the earlier patch that made pick_next_task()
state invariant -- it will restart the pick on dequeue, because
obviously the just dequeued task is no longer eligible.
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 2e0199d commit f12e148
1 file changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5473 | 5473 | | |
5474 | 5474 | | |
5475 | 5475 | | |
| 5476 | + | |
| 5477 | + | |
5476 | 5478 | | |
5477 | 5479 | | |
5478 | 5480 | | |
| |||
5481 | 5483 | | |
5482 | 5484 | | |
5483 | 5485 | | |
5484 | | - | |
| 5486 | + | |
5485 | 5487 | | |
5486 | 5488 | | |
5487 | 5489 | | |
5488 | 5490 | | |
5489 | 5491 | | |
5490 | | - | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
5491 | 5495 | | |
| 5496 | + | |
| 5497 | + | |
| 5498 | + | |
| 5499 | + | |
| 5500 | + | |
| 5501 | + | |
| 5502 | + | |
5492 | 5503 | | |
5493 | | - | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
5494 | 5507 | | |
5495 | 5508 | | |
5496 | 5509 | | |
| |||
8507 | 8520 | | |
8508 | 8521 | | |
8509 | 8522 | | |
8510 | | - | |
| 8523 | + | |
| 8524 | + | |
| 8525 | + | |
8511 | 8526 | | |
8512 | 8527 | | |
8513 | 8528 | | |
| |||
0 commit comments