Re:Linux Memory Overcommit (2007)
by layer8 on Sunday August 18, 2024 @06:56PM
(#41286223)
It is, but “write” doesn’t have an error code it can return on out-of-memory.
The whole crux of overcommit is that the affected process doesn’t get a chance to gracefully fall back or shutdown on OOM conditions at defined places in the code (like at invocations of malloc).
The whole crux of overcommit is that the affected process doesn’t get a chance to gracefully fall back or shutdown on OOM conditions at defined places in the code (like at invocations of malloc).