From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 12 May 2001 11:56:20 -0300 (BRST) From: Rik van Riel Subject: Re: [PATCH] allocation looping + kswapd CPU cycles In-Reply-To: <15096.22053.524498.144383@pizda.ninka.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: "David S. Miller" Cc: Marcelo Tosatti , Mark Hemment , Linus Torvalds , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Tue, 8 May 2001, David S. Miller wrote: > So instead, you could test for the condition that prevents any > possible forward progress, no? if (!order || free_shortage() > 0) goto try_again; (which was the experimental patch I discussed with Marcelo) regards, Rik -- Virtual memory is like a game you can't win; However, without VM there's truly nothing to lose... http://www.surriel.com/ http://distro.conectiva.com/ Send all your spam to aardvark@nl.linux.org (spam digging piggy) -- 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/