Get the latest tech news
New Linux Patches Allow Manipulating Out-Of-Memory Behavior Using BPF
Google engineer Roman Gushchin has proposed the ability for the Linux kernel to customize the out-of-memory 'OOM' behavior using BPF programs.
Google engineer Roman Gushchin has proposed the ability for the Linux kernel to customize the out-of-memory "OOM" behavior using BPF programs. Under the patches proposed today, the Linux kernel out-of-memory handling policy could be manipulated via BPF programs as well as Pressure Stall Information (PSI) based OOM invocation. The common idea was to use userspace daemons to implement custom OOM logic as well as rely on PSI monitoring to avoid stalls.
Or read this on Phoronix