summaryrefslogtreecommitdiffstats
path: root/mm/nobootmem.c
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-24 00:42:24 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 03:46:25 +0100
commitaf4a662144884a7dbb19acbef70878b3b955f928 (patch)
treef16b04ed13de1ad1938af551e406879b90d4b0ca /mm/nobootmem.c
parentmemcg: remove impossible conditional when committing (diff)
downloadlinux-af4a662144884a7dbb19acbef70878b3b955f928.tar.xz
linux-af4a662144884a7dbb19acbef70878b3b955f928.zip
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 <hannes@cmpxchg.org> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Minchan Kim <minchan.kim@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/nobootmem.c')
0 files changed, 0 insertions, 0 deletions