From: Johannes Weiner Date: Wed, 23 Mar 2011 23:42:24 +0000 (-0700) Subject: memcg: remove NULL check from lookup_page_cgroup() result X-Git-Tag: v2.6.39-rc1~163 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4a662144884a7dbb19acbef70878b3b955f928;p=pandora-kernel.git memcg: remove NULL check from lookup_page_cgroup() result The page_cgroup array is set up before even fork is initialized. I seriously doubt that this code executes before the array is alloc'd. Signed-off-by: Johannes Weiner Acked-by: KAMEZAWA Hiroyuki Cc: Daisuke Nishimura Cc: Balbir Singh Cc: Minchan Kim Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed