From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from max.fys.ruu.nl (max.fys.ruu.nl [131.211.32.73]) by kvack.org (8.8.7/8.8.7) with ESMTP id EAA00872 for ; Thu, 26 Mar 1998 04:14:16 -0500 Date: Thu, 26 Mar 1998 10:08:48 +0100 (MET) From: Rik van Riel Reply-To: H.H.vanRiel@fys.ruu.nl Subject: Re: free_memory_available() bug in pre-91-1 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Linus Torvalds Cc: linux-mm List-ID: On Wed, 25 Mar 1998, Linus Torvalds wrote: > On Wed, 25 Mar 1998, H.H.vanRiel wrote: > > > > I've just found a bug in free_memory_available() as > > implemented in pre-91-1... > > Ugh, yes. How about pre-91-2, which I just put out? It has more of the > code the way I _think_ it should be, and it should try a lot harder to not > hog the CPU with kswapd. Actually, I was referring to the fact that free_memory_available() returns 3 when there's not a single 128k area available... In that case, it should return 2. But I'll try pre-91-2. Rik. +-------------------------------------------+--------------------------+ | Linux: - LinuxHQ MM-patches page | Scouting webmaster | | - kswapd ask-him & complain-to guy | Vries cubscout leader | | http://www.fys.ruu.nl/~riel/ | | +-------------------------------------------+--------------------------+