runc/libcontainer/cgroups/fs2
lifubang a70f354680 let runc disable swap in cgroup v2
In cgroup v2, when memory and memorySwap set to the same value which is greater than zero,
runc should write zero in `memory.swap.max` to disable swap.

Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-05-03 20:57:36 +08:00
..
cpu.go CreateCgroupPath: only enable needed controllers 2020-04-19 16:27:40 -07:00
cpuset.go CreateCgroupPath: only enable needed controllers 2020-04-19 16:27:40 -07:00
create.go fs2: fix cgroup.subtree_control EPERM on rootless + add CI 2020-04-27 13:30:15 +09:00
defaultpath.go cgroups/fs2: don't always parse /proc/self/cgroup 2020-04-28 22:16:36 -07:00
defaultpath_test.go cgroups/fs2: don't always parse /proc/self/cgroup 2020-04-28 22:16:36 -07:00
devices.go cgroupv2: allow to set EnableAllDevices=true 2020-04-22 11:05:36 -07:00
freezer.go cgroup2: split fs2 from fs 2019-12-06 15:42:10 +09:00
fs2.go fs2: fix cgroup.subtree_control EPERM on rootless + add CI 2020-04-27 13:30:15 +09:00
hugetlb.go CreateCgroupPath: only enable needed controllers 2020-04-19 16:27:40 -07:00
io.go CreateCgroupPath: only enable needed controllers 2020-04-19 16:27:40 -07:00
memory.go let runc disable swap in cgroup v2 2020-05-03 20:57:36 +08:00
pids.go CreateCgroupPath: only enable needed controllers 2020-04-19 16:27:40 -07:00