lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Commenting out out_of_memory() function in __alloc_pages()
Date
Chase Venters wrote:
> On Tue, 11 Jul 2006, Abu M. Muttalib wrote:
> > I fail to understand that why the OS doesn't return NULL as per man
> > pages of malloc. It insteat results in OOM.
>
> If you want strict malloc(), you can use the sysctl to turn off
> overcommit. It's even appropriate to do so for certain applications.

The problem is, there is no way to turn off overcommit completely.

Arjan said something about shared libs depending on overcommit :(

Thanks!

--
Al

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

\
 
 \ /
  Last update: 2006-07-11 21:59    [W:0.137 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site