runc/libcontainer/cgroups
Phil Estes 0b5581fd28 Handle memory swappiness as a pointer to handle default/unset case
This prior fix to set "-1" explicitly was lost, and it is simpler to use
the same pointer type from the OCI spec to handle nil pointer == -1 ==
unset case.

Also, as a nearly humorous aside, there was a test for MemorySwappiness
that was actually setting Memory, and it was passing because of this
bug (as it was always setting everyone's MemorySwappiness to zero!)

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2016-02-24 09:02:06 -06:00
..
fs Handle memory swappiness as a pointer to handle default/unset case 2016-02-24 09:02:06 -06:00
systemd cgroup: systemd: further systemd slice validation 2016-01-27 19:00:52 +11:00
cgroups.go Revert to non-recursive GetPids, add recursive GetAllPids 2016-01-08 19:42:25 +00:00
cgroups_test.go Rework ParseCgroupFile 2015-09-10 20:59:27 +03:00
cgroups_unsupported.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
stats.go Add limit value to memory stats 2016-02-03 11:54:09 -08:00
utils.go Look for " - " instead of just - as separator 2016-02-18 09:58:29 -08:00
utils_test.go Look for " - " instead of just - as separator 2016-02-18 09:58:29 -08:00