[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20090213091539.e26e5e8e.minchan.kim@barrios-desktop>
Date: Fri, 13 Feb 2009 09:15:39 +0900
From: MinChan Kim <minchan.kim@...il.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org,
Johannes Weiner <hannes@...xchg.org>,
KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
MinChan Kim <minchan.kim@...il.com>
Subject: [patch 0/2 v2] vmscan: one cleanup, one bugfix
Hi Andrew,
the first patch is that it moves the suspend-to-disk memory
shrinking functions to use sc.nr_reclaimed all over instead of maintaining
an extra local variable. It was suggested by Kosaki-san and modified
by me and Hannes.
The second patch which is written by Hannes 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.
Hannes added Nigel Cunningham to Cc because ISTR he complained
about exactly this behaviour. Well, this patch seems to fix it, Hannes even
added some shiny numbers coming from real tests!
I just remaked second patch based on my first patch.
Notice that it is just Hannes's contribution. :)
--
Kinds Regards
MinChan Kim
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists