Files
runc/libcontainer/cgroups/fs
Qiang Huang fe898e7862 Fix kmem accouting when use with cgroupsPath
Fixes: #1347
Fixes: #1083

The root cause of #1083 is because we're joining an
existed cgroup whose kmem accouting is not initialized,
and it has child cgroup or tasks in it.

Fix it by checking if the cgroup is first time created,
and we should enable kmem accouting if the cgroup is
craeted by libcontainer with or without kmem limit
configed. Otherwise we'll get issue like #1347

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2017-02-25 10:58:18 -08:00
..
2015-11-05 19:12:53 +08:00
2016-07-28 17:14:51 -07:00
2016-07-11 05:00:35 +08:00
2016-07-11 05:00:35 +08:00
2015-11-05 19:12:53 +08:00