Messages in this thread | | | Date | Fri, 4 Apr 2014 08:22:59 -0400 | From | Tejun Heo <> | Subject | Re: [GIT PULL] cgroup changes for v3.15-rc1 |
| |
On Fri, Apr 04, 2014 at 05:14:41PM +0800, Li Zefan wrote: > [PATCH] cgroup: fix top cgroup refcnt leak > > As mount() and kill_sb() is not a one-to-one match, If we mount the same > cgroupfs in serveral mount points, and then umount all of them, kill_sb() > will be called only once. > > Try: > # mount -t cgroup -o cpuacct xxx /cgroup > # mount -t cgroup -o cpuacct xxx /cgroup2 > # cat /proc/cgroups | grep cpuacct > cpuacct 2 1 1 > # umount /cgroup > # umount /cgroup2 > # cat /proc/cgroups | grep cpuacct > cpuacct 2 1 1 > > You'll see cgroupfs will never be freed. > > Signed-off-by: Li Zefan <lizefan@huawei.com>
Applied to cgroup/for-3.15-fixes.
Thanks.
-- tejun
| |