From 1e0cec0b58c7322b8fa5fc98919f96d9b529c346 Mon Sep 17 00:00:00 2001 From: Yihao Wu Date: Sat, 9 May 2020 13:45:51 +0800 Subject: [PATCH] alinux: sched: make SCHED_SLI dependent on FAIR_GROUP_SCHED fix #27497611 sched SLI feature relies heavily on CFS group scheduling. So we add "depends on FAIR_GROUP_SCHED" in Kconfig to avoid build issues where FAIR_GROUP_SCHED is not turned on. Suggested-by: Shanpei Chen Reported-by: kbuild test robot Signed-off-by: Yihao Wu Acked-by: Shanpei Chen --- init/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/init/Kconfig b/init/Kconfig index b8a1c8ddbaa5..b85d72ee6bb5 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -911,6 +911,7 @@ config CGROUP_DEVICE config SCHED_SLI bool "cgroup CPU usage and additional scheduler statistics" depends on CGROUP_CPUACCT + depends on FAIR_GROUP_SCHED default Y help This accounts CPU time spent by tasks in a cgroup into "usr%" "sys%" -- GitLab