Re: Patch: vm_enough_memory() (2.1.129)

Rik van Riel (H.H.vanRiel@phys.uu.nl)
Tue, 24 Nov 1998 07:52:21 +0100 (CET)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--------------9C4DE7CD857ABAA3E415AEB0
Content-Type: TEXT/PLAIN; CHARSET=us-ascii
Content-ID: <Pine.LNX.3.96.981124074523.13474E@mirkwood.dummy.home>

On Mon, 23 Nov 1998, Neil Conway wrote:

> Here's my stab at a fix to the vm_enough_memory() function. This
> currently underestimates available memory by large amounts (has been
> wrong by over 200MB on my 512MB RAM + 512MB Swap machine).

Excellent fix, I hope Linus will put it into 2.1.130/2.2.0
(depending on his mood/confidence/whatever).

> It *tries* to do it the right way, but I'm no expert. In fact, it
> was sufficiently easy to fix that I have a lingering suspicion that
> I've missed the point.

The point is that we've all been to lazy to fix it, even
though we knew it should have been fixed. I take it you
missed that one :)

cheers,

Rik -- slowly getting used to dvorak kbd layout...
+-------------------------------------------------------------------+
| Linux memory management tour guide. H.H.vanRiel@phys.uu.nl |
| Scouting Vries cubscout leader. http://www.phys.uu.nl/~riel/ |
+-------------------------------------------------------------------+

--------------9C4DE7CD857ABAA3E415AEB0--

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/