commit | 9992af102974f3f8a02a1f2729c3461881539e26 | [log] [tgz] |
---|---|---|
author | Rik van Riel <riel@redhat.com> | Thu Jan 13 15:47:13 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 17:32:46 2011 -0800 |
tree | 40958e1a8bd7efc7c9a4d28e2b77d86bb8688734 | |
parent | 2c888cfbc1b45508a44763d85ba2e8ac43faff5f [diff] |
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 <riel@redhat.com> Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>