Commit 44483ea0 authored by Yu Jiahua's avatar Yu Jiahua Committed by Zheng Zengkai
Browse files

sched: Introcude config option SCHED_OPTIMIZE_LOAD_TRACKING

hulk inclusion
category: feature
bugzilla: 175551 https://gitee.com/openeuler/kernel/issues/I4DVI3



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

Introduce kernel config SCHED_OPTIMIZE_LOAD_TRACKING to prepare
for kernel scheduler loadtracking optimize.

Signed-off-by: default avatarYu Jiahua <yujiahua1@huawei.com>
Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 115a1ecc
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2077,6 +2077,14 @@ endmenu # General setup

source "arch/Kconfig"

config SCHED_OPTIMIZE_LOAD_TRACKING
	bool "Optimize scheduler load tracking"
	default n
	help
	  Optimize scheduler load tracking, when load balance is not important
	  in system, we close some load tracking in tick and enqueue or dequeue
	  task, in this way, we can save some unnecessary cpu overhead.

config RT_MUTEXES
	bool