From: KAMEZAWA Hiroyuki Date: Thu, 20 Jan 2011 22:44:24 +0000 (-0800) Subject: memcg: fix LRU accounting with THP X-Git-Tag: v2.6.38-rc2~19^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ece35ca810326946ddc930c43356312ad5de44d4;p=pandora-kernel.git 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 Cc: Daisuke Nishimura Cc: Balbir Singh Cc: Johannes Weiner Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed