]> git.karo-electronics.de Git - karo-tx-linux.git/commit
memcg: keep root group unchanged if creation fails
authorHillf Danton <dhillf@gmail.com>
Fri, 16 Dec 2011 04:49:24 +0000 (15:49 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Dec 2011 07:19:12 +0000 (18:19 +1100)
commit2b14e9cf1541415382213d2fa23fc1386f52c41c
tree70920872c5cf2ee1730d1a007e7ec53c29d29ddd
parentad7008b8dd2ed2ef8c724384208594841e6b5c7d
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>
mm/memcontrol.c