]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sched/debug: Provide slice length for fair tasks
authorChristian Loehle <christian.loehle@arm.com>
Wed, 29 Jan 2025 17:59:44 +0000 (17:59 +0000)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jan 2025 09:45:33 +0000 (10:45 +0100)
commit9065ce69754dece78606c8bbb3821449272e56bf
treece7a208d956905dcb17664878a95750185e7b759
parent3429dd57f0deb1a602c2624a1dd7c4c11b6c4734
sched/debug: Provide slice length for fair tasks

Since commit:

  857b158dc5e8 ("sched/eevdf: Use sched_attr::sched_runtime to set request/slice suggestion")

... we have the userspace per-task tunable slice length, which is
a key parameter that is otherwise difficult to obtain, so provide
it in /proc/$PID/sched.

[ mingo: Clarified the changelog. ]

Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/453349b1-1637-42f5-a7b2-2385392b5956@arm.com
kernel/sched/debug.c