Get the latest tech news

New Linux Patches Aim To Customize Out-Of-Memory Behavior Using BPF


A fresh take is being pursued around allowing the Linux kernel's out-of-memory (OOM) behavior to be customized using BPF programs.

There have been previous attempts at BPF-based OOM customization for adapting the kernel's behavior but no solution yet ultimately deemed the best and suitable for upstreaming. The common idea was to use userspace daemons to implement custom OOM logic as well as rely on PSI monitoring to avoid stalls. But this approach creates additional infrastructure churn: userspace OOM daemon is a separate entity which needs to be deployed, updated, monitored.

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Memory

Memory

Photo of behavior

behavior

Photo of New Linux

New Linux

Related news:

News photo

New Linux Patches Propose Removing Support For Old i486 & Early i586 CPUs

News photo

New ferroelectric device performs calculations within memory

News photo

How ZGC allocates memory for the Java heap