From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 13 Mar 2000 14:55:39 -0800 (PST) From: Linus Torvalds Subject: Re: [patch] first bit of vm balancing fixes for 2.3.52-1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Ben LaHaise Cc: linux-mm@kvack.org List-ID: 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/