]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched/fair: Remove cfs_rq::nr_spread_over and cfs_rq::exec_clock
authorChuyi Zhou <zhouchuyi@bytedance.com>
Wed, 17 Jul 2024 14:33:42 +0000 (22:33 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 29 Jul 2024 10:22:34 +0000 (12:22 +0200)
commit2c2d9624697fc5e7dd84490ae01b80cc43ec2def
treede823254cdede10614d8f4045055fce19a8d9ab7
parent0ec8d5aed4d14055aab4e2746def33f8b0d409c3
sched/fair: Remove cfs_rq::nr_spread_over and cfs_rq::exec_clock

nr_spread_over tracks the number of instances where the difference
between a scheduling entity's virtual runtime and the minimum virtual
runtime in the runqueue exceeds three times the scheduler latency,
indicating significant disparity in task scheduling.
Commit that removed its usage: 5e963f2bd: sched/fair: Commit to EEVDF

cfs_rq->exec_clock was used to account for time spent executing tasks.
Commit that removed its usage: 5d69eca542ee1 sched: Unify runtime
accounting across classes

cfs_rq::nr_spread_over and cfs_rq::exec_clock are not used anymore in
eevdf. Remove them from struct cfs_rq.

Signed-off-by: Chuyi Zhou <zhouchuyi@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>
Reviewed-by: K Prateek Nayak <kprateek.nayak@amd.com>
Acked-by: Vishal Chourasia <vishalc@linux.ibm.com>
Link: https://lore.kernel.org/r/20240717143342.593262-1-zhouchuyi@bytedance.com
kernel/sched/debug.c
kernel/sched/sched.h