diff options
author | 2025-02-11 14:36:59 +0800 | |
---|---|---|
committer | 2025-02-14 10:32:01 +0100 | |
commit | 563bc2161b94571ea425bbe2cf69fd38e24cdedf (patch) | |
tree | 5abf9d952b801b4e13de1d7018eca9503f07ed19 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | sched: Don't define sched_clock_irqtime as static key (diff) | |
download | wireguard-linux-563bc2161b94571ea425bbe2cf69fd38e24cdedf.tar.xz wireguard-linux-563bc2161b94571ea425bbe2cf69fd38e24cdedf.zip |
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: aef6987d8954 ("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.com
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions