Commit fe02ebb4 authored by Yang Yingliang's avatar Yang Yingliang Committed by Xie XiuQi
Browse files

cgroup: disable kernel memory accounting for all memory cgroups by default



hulk inclusion
category: bugfix
bugzilla: 18665
CVE: NA
-------------------

The kernel memory accounting for all memory cgroups is
not stable now, it could lead kmem.usage refcount leak.
It's used as a debug feature for now, so disable it by
default. We can use the following command line to enable
or disable it, cgroup.memory=kmem or cgroup.memory=kmem.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Reviewed-by: default avatarJing Xiangfeng <jingxiangfeng@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent e7864abb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment