kata-containers / cgroups-rs

Native Rust library for managing control groups under Linux
https://crates.io/crates/cgroups-rs
Other
116 stars 47 forks source link

Fix HugeTlbController::limit_in_bytes() for v2 #113

Closed gkurz closed 1 year ago

gkurz commented 1 year ago

With Cgroups v2, the file to use is "max", not "limit_in_bytes".

Fixes #112

Signed-off-by: Greg Kurz groug@kaod.org

Tim-Zhang commented 1 year ago

Will make a new release tomorrow when I arrive at the office and get my working computer