提交 06d7286d 编写于 作者: Y Yihao Wu

alinux: sched: add kconfig SCHED_SLI

to #26424323

This introduces the new bool kconfig SCHED_SLI, determining whether the
scheduler SLI feature should be built-in or not.
Signed-off-by: NYihao Wu <wuyihao@linux.alibaba.com>
Acked-by: NShanpei Chen <shanpeic@linux.alibaba.com>
上级 087f53fc
......@@ -908,6 +908,20 @@ config CGROUP_DEVICE
Provides a cgroup controller implementing whitelists for
devices which a process in the cgroup can mknod or open.
config SCHED_SLI
bool "cgroup CPU usage and additional scheduler statistics"
depends on CGROUP_CPUACCT
default Y
help
This accounts CPU time spent by tasks in a cgroup into "usr%" "sys%"
"idle" "steal%" "irq%" "softirq%" "guest%". And this exports
nr_migrations, nr_running, nr_uninterruptible of a cgroup.
The corresponding interface is cpuacct.proc_stat.
Note CPU usage requires cpuacct and cpu cgroup subsys to be mounted
together to take effect.
config CGROUP_CPUACCT
bool "Simple CPU accounting controller"
help
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册