[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: free_memory_available() bug in pre-91-1
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/ | <H.H.vanRiel@fys.ruu.nl> |
+-------------------------------------------+--------------------------+