Commit bcd74b2
Peter Zijlstra
sched/fair: Only set slice protection at pick time
We should not (re)set slice protection in the sched_change pattern
which calls put_prev_task() / set_next_task().
Fixes: 6330455 ("sched/eevdf: Curb wakeup-preemption")
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Tested-by: Shubhang Kaushik <shubhang@os.amperecomputing.com>
Link: https://patch.msgid.link/20260219080624.561421378%40infradead.org1 parent b3d99f4 commit bcd74b2
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5445 | 5445 | | |
5446 | 5446 | | |
5447 | 5447 | | |
5448 | | - | |
| 5448 | + | |
5449 | 5449 | | |
5450 | 5450 | | |
5451 | 5451 | | |
| |||
5460 | 5460 | | |
5461 | 5461 | | |
5462 | 5462 | | |
5463 | | - | |
| 5463 | + | |
| 5464 | + | |
5464 | 5465 | | |
5465 | 5466 | | |
5466 | 5467 | | |
| |||
8978 | 8979 | | |
8979 | 8980 | | |
8980 | 8981 | | |
8981 | | - | |
| 8982 | + | |
8982 | 8983 | | |
8983 | 8984 | | |
8984 | 8985 | | |
8985 | 8986 | | |
8986 | 8987 | | |
8987 | | - | |
| 8988 | + | |
8988 | 8989 | | |
8989 | 8990 | | |
8990 | 8991 | | |
| |||
13598 | 13599 | | |
13599 | 13600 | | |
13600 | 13601 | | |
13601 | | - | |
| 13602 | + | |
13602 | 13603 | | |
13603 | 13604 | | |
13604 | 13605 | | |
| |||
0 commit comments