[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch] first bit of vm balancing fixes for 2.3.52-1




On Mon, 13 Mar 2000, Ben LaHaise wrote:
>
> This is the first little bit of a few vm balancing patches I've been
> working on.  It does two main things: moves the lru_cache list into the
> per-zone structure, and slightly reworks the kswapd wakeup logic so the
> zone_wake_kswapd flag is cleared in free_pages_ok.  Moving the lru_cache
> list into the zone structure means we can make much better progress when
> trying to free a specific type of memory.  Moving the clearing of the
> zone_wake_kswapd flag into the free_pages routine stops kswapd from
> continuing to swap out ad nausium: my box will discard the entire page
> cache when it hits low memory when doing a simple sequential read.  With
> this patch in place it hovers around 3MB free as it should.

Looks sane to me.

		Linus

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/