Add support for kernel memory limit
Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
parent
ad91ec8c4b
commit
3803847429
2 changed files with 8 additions and 0 deletions
|
@ -36,6 +36,9 @@ type cgroupMemInfo struct {
|
|||
|
||||
// Whether memory swappiness is supported or not
|
||||
MemorySwappiness bool
|
||||
|
||||
// Whether kernel memory limit is supported or not
|
||||
KernelMemory bool
|
||||
}
|
||||
|
||||
type cgroupCPUInfo struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue