Carried: #14015 If kernel is compiled with CONFIG_FAIR_GROUP_SCHED disabled cpu.shares doesn't exist. If kernel is compiled with CONFIG_CFQ_GROUP_IOSCHED disabled blkio.weight doesn't exist. If kernel is compiled with CONFIG_CPUSETS disabled cpuset won't be supported. We need to handle these conditions by checking sysinfo and verifying them. Signed-off-by: Zefan Li <lizefan@huawei.com> Signed-off-by: Qiang Huang <h.huangqiang@huawei.com> Upstream-commit: b7599d58cb103e3b13b3a51553fd69f5f8b60893 Component: engine
SysInfo stores information about which features a kernel supports.