From: Johannes Weiner Date: Mon, 7 Apr 2014 22:37:43 +0000 (-0700) Subject: memcg: get_mem_cgroup_from_mm() X-Git-Tag: v3.15-rc1~57^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df381975463996178d685f6ef7d3555c5f887201;p=pandora-kernel.git memcg: get_mem_cgroup_from_mm() Instead of returning NULL from try_get_mem_cgroup_from_mm() when the mm owner is exiting, just return root_mem_cgroup. This makes sense for all callsites and gets rid of some of them having to fallback manually. [fengguang.wu@intel.com: fix warnings] Signed-off-by: Johannes Weiner Signed-off-by: Fengguang Wu Acked-by: Michal Hocko Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed