]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Implement throttle task work and related helpers
authorValentin Schneider <vschneid@redhat.com>
Fri, 29 Aug 2025 08:11:17 +0000 (16:11 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 3 Sep 2025 08:03:13 +0000 (10:03 +0200)
commit7fc2d14392475e368a2a7be458aba4eecdf2439b
tree97383775d67dad41b267ff17d383e41aaa9a53f7
parent2cd571245b43492867bf1b4252485f3e6647b643
sched/fair: Implement throttle task work and related helpers

Implement throttle_cfs_rq_work() task work which gets executed on task's
ret2user path where the task is dequeued and marked as throttled.

Signed-off-by: Valentin Schneider <vschneid@redhat.com>
Signed-off-by: Aaron Lu <ziqianlu@bytedance.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Chengming Zhou <chengming.zhou@linux.dev>
Tested-by: Valentin Schneider <vschneid@redhat.com>
Tested-by: Matteo Martelli <matteo.martelli@codethink.co.uk>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lore.kernel.org/r/20250829081120.806-3-ziqianlu@bytedance.com
kernel/sched/fair.c