Add support for memory reservation
Signed-off-by: qhuang <qhuang@10.0.2.15>
This commit is contained in:
parent
22afd88a00
commit
f0bff37edc
2 changed files with 13 additions and 5 deletions
|
@ -31,6 +31,9 @@ type cgroupMemInfo struct {
|
|||
// Whether swap limit is supported or not
|
||||
SwapLimit bool
|
||||
|
||||
// Whether soft limit is supported or not
|
||||
MemoryReservation bool
|
||||
|
||||
// Whether OOM killer disalbe is supported or not
|
||||
OomKillDisable bool
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue