]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched_ext: Print sub-scheduler disabled log and reason
authorZhao Mengmeng <zhaomengmeng@kylinos.cn>
Fri, 17 Apr 2026 09:18:03 +0000 (17:18 +0800)
committerTejun Heo <tj@kernel.org>
Fri, 17 Apr 2026 18:32:10 +0000 (08:32 -1000)
commit5425abc222bcdb6913aafb2a1449fe9b8cdb308e
tree7c5f2673ce42e5e883201cda21b8c7f8058b5c0b
parent26fb937c7b6ef5c9b8e67dfb08c8164ae108a770
sched_ext: Print sub-scheduler disabled log and reason

Take scx_qmap for example, when sub scheduler is attached, there is
'BPF sub-scheduler "qmap" enabled' message, but when detached, the log
is missing. Add a new function to do the log thing, it can be used by
both root scheduler and sub scheduler.

Signed-off-by: Zhao Mengmeng <zhaomengmeng@kylinos.cn>
Reviewed-by: Cheng-Yang Chou <yphbchou0911@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/sched/ext.c