Commit 4ba103df authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Zheng Zengkai
Browse files

sched: Add /debug/sched_preempt

mainline inclusion
from mainline-5.12-rc1
commit e59e10f8
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I410UT
CVE: NA
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e59e10f8ef63d42fbb99776a5a112841e798b3b5



---------------------------

Add a debugfs file to muck about with the preempt mode at runtime.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/YAsGiUYf6NyaTplX@hirez.programming.kicks-ass.net


Signed-off-by: default avatarMa Junhai <majunhai2@huawei.com>
Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent ef767455
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment