]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
memcg: keep root group unchanged if creation fails
authorHillf Danton <dhillf@gmail.com>
Tue, 20 Dec 2011 01:11:57 +0000 (17:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Dec 2011 18:25:04 +0000 (10:25 -0800)
commita41c58a6665cc995e237303b05db42100b71b65e
tree49842a2cde1ad77232cd4a5dadb5cb9796e2aee5
parent481fe17e973fb97aa3edf17c69557afe88d8334f
memcg: keep root group unchanged if creation fails

If the request is to create non-root group and we fail to meet it, we
should leave the root unchanged.

Signed-off-by: Hillf Danton <dhillf@gmail.com>
Acked-by: Hugh Dickins <hughd@google.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Acked-by: Michal Hocko <mhocko@suse.cz>
Cc: Balbir Singh <bsingharora@gmail.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c