lkml.org 
[lkml]   [2009]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[patch 0/2] vmscan: one cleanup, one bugfix
Hi Andrew,

the first patch is from KOSAKI Motohiro, it moves the suspend-to-disk memory
shrinking functions to use sc.nr_reclaimed all over instead of maintaining
an extra local variable.

The second patch is a bugfix for shrink_all_memory() which currently does
reclaim more than requested because of setting swap_cluster_max once to our
overall reclaim goal but failing to decrease it while we go and reclaim is
making progress. Added Nigel Cunningham to Cc because ISTR he complained
about exactly this behaviour. Well, this patch seems to fix it, I even
added some shiny numbers coming from real tests!

Hannes

mm/vmscan.c | 51 ++++++++++++++++++++++++---------------------------
1 files changed, 24 insertions(+), 27 deletions(-)


\
 
 \ /
  Last update: 2009-02-12 12:55    [from the cache]
©2003-2011 Jasper Spaans