]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Fix lag clamp
authorPeter Zijlstra <peterz@infradead.org>
Tue, 22 Apr 2025 10:16:28 +0000 (12:16 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 23 Feb 2026 10:19:18 +0000 (11:19 +0100)
commit6e3c0a4e1ad1e0455b7880fad02b3ee179f56c09
tree33d5948463edcd3649888c3cd9ee3337e5ac2fdc
parentff38424030f98976150e42ca35f4b00e6ab8fa23
sched/fair: Fix lag clamp

Vincent reported that he was seeing undue lag clamping in a mixed
slice workload. Implement the max_slice tracking as per the todo
comment.

Fixes: 147f3efaa241 ("sched/fair: Implement an EEVDF-like scheduling policy")
Reported-off-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-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/20250422101628.GA33555@noisy.programming.kicks-ass.net
include/linux/sched.h
kernel/sched/fair.c