Re: [PATCHSET cgroup/for-3.16] cgroup: implement unified hierarchy, v2

From: Tejun Heo
Date: Tue Apr 15 2014 - 18:08:24 EST


On Tue, Apr 15, 2014 at 10:23:55AM +0800, Li Zefan wrote:
> Right after bootup:
>
> # mount -t cgroup -o __DEVEL__sane_behavior xxx /mnt
> # ls /mnt
> cgroup.controllers cgroup.procs cgroup.sane_behavior cgroup.subtree_control
> # cat /mnt/cgroup.controllers
> cpuset cpu cpuacct memory devices freezer net_cls blkio perf_event hugetlb
>
> I don't see any controller knobs...

This was because cgroup_apply_cftypes() was skipping the default
hierarchy while rebinding correctly populated it. I was alwasy
testing by unmounting other hierarchies so never noticed it. The 0.5
patch that I just posted should fix the issue. git branches have been
updated accordingly.

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/