Messages in this thread | | | Date | Fri, 6 Jan 2006 16:58:59 +0800 | From | Wu Fengguang <> | Subject | Re: [PATCH 09/16] mm: remove unnecessary variable and loop |
| |
On Thu, Jan 05, 2006 at 05:21:56PM -0200, Marcelo Tosatti wrote: > On Wed, Dec 07, 2005 at 06:48:04PM +0800, Wu Fengguang wrote: > > shrink_cache() and refill_inactive_zone() do not need loops. > > > > Simplify them to scan one chunk at a time. > > Hi Wu,
Hi Marcelo,
> What is the purpose of scanning large chunks at a time?
But I did not say or mean 'large' chunks :) With the patch the chunk size is _always_ set to SWAP_CLUSTER_MAX=32 - the good old default value.
Thanks. Wu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |