summaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2011-01-20 23:44:24 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-21 02:02:06 +0100
commitece35ca810326946ddc930c43356312ad5de44d4 (patch)
tree7e9138fbd0da696f695b45dddd8baa587bd284a4 /mm/mm_init.c
parentmemcg: fix USED bit handling at uncharge in THP (diff)
downloadlinux-ece35ca810326946ddc930c43356312ad5de44d4.tar.xz
linux-ece35ca810326946ddc930c43356312ad5de44d4.zip
memcg: fix LRU accounting with THP
memory cgroup's LRU stat should take care of size of pages because Transparent Hugepage inserts hugepage into LRU. If this value is the number wrong, memory reclaim will not work well. Note: only head page of THP's huge page is linked into LRU. Signed-off-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: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions