From: Rik van Riel Date: Thu, 13 Jan 2011 23:47:13 +0000 (-0800) Subject: thp: fix anon memory statistics with transparent hugepages X-Git-Tag: v2.6.38-rc1~109 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c888cfbc1b45508a44763d85ba2e8ac43faff5f;p=pandora-kernel.git thp: fix anon memory statistics with transparent hugepages Count each transparent hugepage as HPAGE_PMD_NR pages in the LRU statistics, so the Active(anon) and Inactive(anon) statistics in /proc/meminfo are correct. Signed-off-by: Rik van Riel Signed-off-by: Andrea Arcangeli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed