]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Mar 2025 19:54:14 +0000 (12:54 -0700)
commit20d6994b6f1f46576e8a1b7c26bcf55dc2cf0132
tree18a60bbde59a5893a22c3162f80061dc148837f4
parentb253660fac5e0e9080d2c95e3a029e1898d49afb
sched/debug: Provide slice length for fair tasks

[ Upstream commit 9065ce69754dece78606c8bbb3821449272e56bf ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/sched/debug.c