Commit abc158c
Peter Zijlstra
sched: Prepare generic code for delayed dequeue
While most of the delayed dequeue code can be done inside the
sched_class itself, there is one location where we do not have an
appropriate hook, namely ttwu_runnable().
Add an ENQUEUE_DELAYED call to the on_rq path to deal with waking
delayed dequeue tasks.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lkml.kernel.org/r/20240727105029.200000445@infradead.org1 parent e890106 commit abc158c
3 files changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| 547 | + | |
547 | 548 | | |
548 | 549 | | |
549 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2036 | 2036 | | |
2037 | 2037 | | |
2038 | 2038 | | |
| 2039 | + | |
| 2040 | + | |
2039 | 2041 | | |
2040 | 2042 | | |
2041 | 2043 | | |
| |||
3689 | 3691 | | |
3690 | 3692 | | |
3691 | 3693 | | |
| 3694 | + | |
| 3695 | + | |
| 3696 | + | |
3692 | 3697 | | |
3693 | 3698 | | |
3694 | 3699 | | |
3695 | 3700 | | |
3696 | 3701 | | |
3697 | | - | |
3698 | 3702 | | |
3699 | 3703 | | |
3700 | 3704 | | |
| |||
4074 | 4078 | | |
4075 | 4079 | | |
4076 | 4080 | | |
| 4081 | + | |
| 4082 | + | |
| 4083 | + | |
| 4084 | + | |
4077 | 4085 | | |
4078 | 4086 | | |
4079 | 4087 | | |
4080 | 4088 | | |
4081 | 4089 | | |
| 4090 | + | |
4082 | 4091 | | |
4083 | 4092 | | |
4084 | 4093 | | |
| |||
4370 | 4379 | | |
4371 | 4380 | | |
4372 | 4381 | | |
| 4382 | + | |
| 4383 | + | |
| 4384 | + | |
4373 | 4385 | | |
4374 | 4386 | | |
4375 | 4387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2253 | 2253 | | |
2254 | 2254 | | |
2255 | 2255 | | |
| 2256 | + | |
2256 | 2257 | | |
2257 | 2258 | | |
2258 | 2259 | | |
| |||
2268 | 2269 | | |
2269 | 2270 | | |
2270 | 2271 | | |
| 2272 | + | |
2271 | 2273 | | |
2272 | 2274 | | |
2273 | 2275 | | |
| |||
0 commit comments