Blocking on allocation failure - WTF?
Posted Mar 10, 2011 8:27 UTC (Thu) by
epa (subscriber, #39769)
Parent article:
Delaying the OOM killer
Writing "1" to that file will disable the OOM killer within that group. Should an out-of-memory situation come about, the processes in the affected group will simply block when attempting to allocate memory until the situation improves somehow.
I understand some of the reasons for overcommitting memory when it's not known how much is really available or needed, but blocking on a definite out-of-memory seems just plain daft. If the kernel knows that no more memory is available why can't it pass that information on to user space?
(
Log in to post comments)