Skip to content

Commit

Permalink
alinux: sched: make SCHED_SLI dependent on FAIR_GROUP_SCHED
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Yihao Wu <[email protected]>
Acked-by: Shanpei Chen <[email protected]>
  • Loading branch information
Yihao Wu authored and shiloong committed May 18, 2020
1 parent bc37216 commit 1e0cec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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%"
Expand Down

0 comments on commit 1e0cec0

Please sign in to comment.