pre6 VM issues

From: Marcelo Tosatti (
Date: Tue Oct 09 2001 - 07:44:37 EST


I've been testing pre6 (actually its pre5 a patch which Linus sent me
named "prewith 16GB of RAM (thanks to OSDLabs for that), and I've found
out some problems. First of all, we need to throttle normal allocators
more often and/or update the low memory limits for normal allocators to a
saner value. I already said I think allowing everybody to eat up to
"freepages.min" is too low for a default.

I've got atomic memory failures with _22GB_ of swap free (32GB total):

 eth0: can't fill rx buffer (force 0)!

Another issue is the damn fork() special case. Its failing in practice:

bash: fork: Cannot allocate memory

Also with _LOTS_ of swap free. (gigs of them)

Linus, we can introduce a "__GFP_FAIL" flag to be used by _everyone_ which
wants to do higher order allocations as an optimization (eg allocate big
scatter-gather tables or whatever). Or do you prefer to make the fork()
allocation a separate case ?

I'll take a closer look at the code now and make the throttling/limits to
what I think is saner for a default.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:24 EST