Re: [PATCH 1/5] cgroup: fix broken css_has_online_children()

From: Tejun Heo
Date: Tue Jun 17 2014 - 15:26:31 EST


On Thu, Jun 12, 2014 at 02:31:31PM +0800, Li Zefan wrote:
> After running:
>
> # mount -t cgroup cpu xxx /cgroup && mkdir /cgroup/sub && \
> rmdir /cgroup/sub && umount /cgroup
>
> I found the cgroup root still existed:
>
> # cat /proc/cgroups
> #subsys_name hierarchy num_cgroups enabled
> cpuset 0 1 1
> cpu 1 1 1
> ...
>
> It turned out css_has_online_children() is broken.
>
> Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>

Applied to cgroup/for-3.16-fixes.

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/