]> Git Repo - linux.git/commit
thp: scale nr_rotated to balance memory pressure
authorRik van Riel <[email protected]>
Thu, 13 Jan 2011 23:47:13 +0000 (15:47 -0800)
committerLinus Torvalds <[email protected]>
Fri, 14 Jan 2011 01:32:46 +0000 (17:32 -0800)
commit9992af102974f3f8a02a1f2729c3461881539e26
tree40958e1a8bd7efc7c9a4d28e2b77d86bb8688734
parent2c888cfbc1b45508a44763d85ba2e8ac43faff5f
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 <[email protected]>
Signed-off-by: Andrea Arcangeli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/vmscan.c
This page took 0.043492 seconds and 4 git commands to generate.