3ed5407e61
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> |
||
---|---|---|
.. | ||
README.md | ||
sysinfo.go | ||
sysinfo_freebsd.go | ||
sysinfo_linux.go | ||
sysinfo_linux_test.go | ||
sysinfo_windows.go |
SysInfo stores information about which features a kernel supports.