summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-06-23 18:53:52 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-06-23 18:53:52 -0700
commit42b8d9947462d751f1a4cd6c7e842d95c3249f35 (patch)
tree4c0ffad7a9fed200b8995f128213a62b261e79fd /kernel
parent2332dc7870b6f40eff03df88cbb03f4ffddbd086 (diff)
[PATCH] vmscan.c: dont reclaim too many pages
The shrink_zone() logic can, under some circumstances, cause far too many pages to be reclaimed. Say, we're scanning at high priority and suddenly hit a large number of reclaimable pages on the LRU. Change things so we bale out when SWAP_CLUSTER_MAX pages have been reclaimed. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions