]> git.ipfire.org Git - thirdparty/linux.git/commit
sched: Add CONFIG_SCHED_PROXY_EXEC & boot argument to enable/disable
authorJohn Stultz <jstultz@google.com>
Sat, 12 Jul 2025 03:33:42 +0000 (03:33 +0000)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 14 Jul 2025 15:16:31 +0000 (17:16 +0200)
commit25c411fce735dda29de26f58d3fce52d4824380c
tree4869c00c94a3a7030ac85f6996d4226da9bcbe94
parent8f2146159b3a24d4fde0479c5e19f31908419004
sched: Add CONFIG_SCHED_PROXY_EXEC & boot argument to enable/disable

Add a CONFIG_SCHED_PROXY_EXEC option, along with a boot argument
sched_proxy_exec= that can be used to disable the feature at boot
time if CONFIG_SCHED_PROXY_EXEC was enabled.

Also uses this option to allow the rq->donor to be different from
rq->curr.

Signed-off-by: John Stultz <jstultz@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Tested-by: K Prateek Nayak <kprateek.nayak@amd.com>
Link: https://lkml.kernel.org/r/20250712033407.2383110-2-jstultz@google.com
Documentation/admin-guide/kernel-parameters.txt
include/linux/sched.h
init/Kconfig
kernel/sched/core.c
kernel/sched/sched.h