diff options
author | Vladimir Davydov <vdavydov@parallels.com> | 2015-03-12 16:26:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-03-12 18:46:08 -0700 |
commit | 7feee590bb18ffc42636975f74c2c3120ce1901c (patch) | |
tree | 58e0fcfa29b1d7a84c7688062a8374464739b7eb /mm/iov_iter.c | |
parent | a5a6579db33af91f4f5134e14be758dc71c1b694 (diff) | |
download | lwn-7feee590bb18ffc42636975f74c2c3120ce1901c.tar.gz lwn-7feee590bb18ffc42636975f74c2c3120ce1901c.zip |
memcg: disable hierarchy support if bound to the legacy cgroup hierarchy
If the memory cgroup controller is initially mounted in the scope of the
default cgroup hierarchy and then remounted to a legacy hierarchy, it will
still have hierarchy support enabled, which is incorrect. We should
disable hierarchy support if bound to the legacy cgroup hierarchy.
Signed-off-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/iov_iter.c')
0 files changed, 0 insertions, 0 deletions