vm overcommit handling

Sebastien Bourdeauducq sebastien.bourdeauducq at lekernel.net
Fri Jan 21 04:48:07 EST 2011

On Fri, 2011-01-21 at 17:42 +0800, Xiangfu Liu wrote:
> > The downside is, that applications then sometimes don't fail on
> > calling malloc(), but instead segfault when they try to access pages
> > that cannot be allocated to available RAM.  

Don't most applications do that, regardless of the overcommit_memory
setting? In C programs, checking malloc() return value for NULL is so
messy... :)


More information about the discussion mailing list