Out-of-memory victim selection with BPF
Out-of-memory victim selection with BPF
Posted Aug 17, 2023 21:25 UTC (Thu) by donald.buczek (subscriber, #112892)In reply to: Out-of-memory victim selection with BPF by rrolls
Parent article: Out-of-memory victim selection with BPF
> programs should be written in the first place to gracefully handle situations where malloc returns NULL,
Sure. However, a memory allocation might also happen because of automatic stack expansion. Without an explicit allocation call, which could return an error, it is much more difficult for an application to gracefully handle a failure.
