hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9R3F8 CVE: NA
--------------------------------
There are many link error when QOS_SCHED_DYNAMIC_AFFINITY = y && FAIR_GROUP_SCHED=n.
The QOS_SCHED_DYNAMIC_AFFINITY feature need FAIR_GROUP_SCHED has been selected first.
Fixes: 229f5c1f3868 ("sched: Introduce dynamic affinity for cfs scheduler") Signed-off-by: Yipeng Zou zouyipeng@huawei.com --- init/Kconfig | 1 + 1 file changed, 1 insertion(+)
diff --git a/init/Kconfig b/init/Kconfig index b722b7a887c1..b5a882ded286 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1072,6 +1072,7 @@ config TASK_PLACEMENT_BY_CPU_RANGE config QOS_SCHED_DYNAMIC_AFFINITY bool "qos dynamic affinity" depends on CPUSETS + depends on FAIR_GROUP_SCHED select TASK_PLACEMENT_BY_CPU_RANGE default n help