summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorJohannes Weiner <hannes@cmpxchg.org>2011-03-24 00:42:31 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-24 03:46:28 +0100
commit4dc03de1b29901b61cb27e4cab44a7f578dc0fc9 (patch)
tree4edca28cf1636015eacd8012023804e4f27b2e34 /init
parentmemcg: remove direct page_cgroup-to-page pointer (diff)
downloadlinux-4dc03de1b29901b61cb27e4cab44a7f578dc0fc9.tar.xz
linux-4dc03de1b29901b61cb27e4cab44a7f578dc0fc9.zip
memcg: charged pages always have valid per-memcg zone info
page_cgroup_zoneinfo() will never return NULL for a charged page, remove the check for it in mem_cgroup_get_reclaim_stat_from_page(). 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> Reviewed-by: 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 'init')
0 files changed, 0 insertions, 0 deletions