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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -t cgroup -o __DEVEL__sane_behavior xxx /cgroup
>   # ls /cgroup
>   ...
>   memory.failcnt                   memory.move_charge_at_immigrate
>   memory.force_empty               memory.numa_stat
>   memory.limit_in_bytes            memory.oom_control
>   ...
>   # cat /cgroup/memory.usage_in_bytes
>   0
> 
> Signed-off-by: Li Zefan <lizefan@xxxxxxxxxx>

Applied to cgroup/for-3.16 w/ minor comment update.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux