aboutsummaryrefslogtreecommitdiffstats
path: root/mm/nommu.c
diff options
context:
space:
mode:
authorVladimir Davydov <vdavydov@parallels.com>2015-03-12 16:26:19 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-03-12 18:46:08 -0700
commit7feee590bb18ffc42636975f74c2c3120ce1901c (patch)
tree58e0fcfa29b1d7a84c7688062a8374464739b7eb /mm/nommu.c
parentmm: reorder can_do_mlock to fix audit denial (diff)
downloadlinux-dev-7feee590bb18ffc42636975f74c2c3120ce1901c.tar.xz
linux-dev-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/nommu.c')
0 files changed, 0 insertions, 0 deletions