Re: [PATCH] cgroup: disallow disabled controllers on the default hierarchy

2014-06-05 Thread Tejun Heo
On Thu, Jun 05, 2014 at 05:16:30PM +0800, Li Zefan wrote: > After booting with cgroup_disable=memory, I still saw memcg files > in the default hierarchy, and I can write to them, though it won't > take effect. > > # dmesg > ... > Disabling memory control group subsystem > ... > # mount -

[PATCH] cgroup: disallow disabled controllers on the default hierarchy

2014-06-05 Thread Li Zefan
After booting with cgroup_disable=memory, I still saw memcg files in the default hierarchy, and I can write to them, though it won't take effect. # dmesg ... Disabling memory control group subsystem ... # mount -t cgroup -o __DEVEL__sane_behavior xxx /cgroup # ls /cgroup ... memory