From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 27 Mar 2000 09:36:26 -0800 (PST) From: Linus Torvalds Subject: Re: [PATCH] Re: kswapd 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: Mark Hahn Cc: Kanoj Sarcar , riel@nl.linux.org, linux-mm@kvack.org List-ID: On Mon, 27 Mar 2000, Mark Hahn wrote: > > yes! should it not look at the return from try_to_free_pages > to find out whether further looping is needed? or something based > on the current free pages level, hopefully with hysteresis like > Rik mentioned? It does do that - that's what the "kswapd_wake_up" flag does for the loop. The problem was that the loop termination logic was a bit topsy-turvy. 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/