Commit 563bc21
sched/eevdf: Force propagating min_slice of cfs_rq when {en,de}queue tasks
When a task is enqueued and its parent cgroup se is already on_rq, this
parent cgroup se will not be enqueued again, and hence the root->min_slice
leaves unchanged. The same issue happens when a task is dequeued and its
parent cgroup se has other runnable entities, and the parent cgroup se
will not be dequeued.
Force propagating min_slice when se doesn't need to be enqueued or
dequeued. Ensure the se hierarchy always get the latest min_slice.
Fixes: aef6987 ("sched/eevdf: Propagate min_slice up the cgroup hierarchy")
Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20250211063659.7180-1-dtcccc@linux.alibaba.com1 parent b9f2b29 commit 563bc21
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7002 | 7002 | | |
7003 | 7003 | | |
7004 | 7004 | | |
| 7005 | + | |
| 7006 | + | |
7005 | 7007 | | |
7006 | 7008 | | |
7007 | 7009 | | |
| |||
7131 | 7133 | | |
7132 | 7134 | | |
7133 | 7135 | | |
| 7136 | + | |
| 7137 | + | |
7134 | 7138 | | |
7135 | 7139 | | |
7136 | 7140 | | |
| |||
0 commit comments