Em Sat, Jul 06, 2002 at 12:13:20AM +0200, Matthias Andree escreveu:
I wrote: Linux always overcommits. Which of the three words is
unintelligible?
Don't believe it? Try "swapoff -av" and then allocating as much memory
as you have in one malloc chunk. What do you expect? NULL. Right. What
do you get? NULL or some address?
Sorry, I get NULL if I change alloca() for malloc() in the same sample program.