From: Rik van Riel Date: Thu, 13 Jan 2011 23:47:13 +0000 (-0800) Subject: thp: scale nr_rotated to balance memory pressure X-Git-Tag: v2.6.38-rc1~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9992af102974f3f8a02a1f2729c3461881539e26;p=pandora-kernel.git thp: scale nr_rotated to balance memory pressure Make sure we scale up nr_rotated when we encounter a referenced transparent huge page. This ensures pageout scanning balance is not distorted when there are huge pages on the LRU. 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