Re: 2.2/2.4/2.6 VMs: do malloc() ever return NULL?

From: Rik van Riel
Date: Tue Nov 25 2003 - 12:00:08 EST


On Tue, 25 Nov 2003, Ihar 'Philips' Filipau wrote:

2.6: the same as 2.4 with oom killer (default conf). I have no test
system to check 2.6. w/o oom killer.

# echo 2 > /proc/sys/vm/overcommit_memory

Then try again.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

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