Messages in this thread | | | From | Al Boldi <> | Subject | Re: Commenting out out_of_memory() function in __alloc_pages() | Date | Tue, 11 Jul 2006 22:57:12 +0300 |
| |
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/
| |