Updated Linux Patches For Managing Out-Of-Memory Behavior Via BPF
([Linux Kernel] 17 Minutes Ago
OOM + BPF)
- Reference: 0001608723
- News link: https://www.phoronix.com/news/Linux-OOM-BPF-2026
- Source link:
Being worked on since [1]last year by Google engineer Roman Gushchin was the latest attempt for the Linux kernel to support [2]managing the out-of-memory "OOM" behavior using BPF programs . It's been a while since there has been anything new to report on that front but published overnight is the latest iteration of those patches.
Roman has been leading the latest effort to customize Linux's out of memory handling using BPF programs. Via convenient BPF programs it would be possible to establish the OOM handling policy and for the Pressure Stall Information (PSI) based OOM invocation. Compared to prior code attempts, this effort by Roman remains focused on being as generic as possible and taking full advantage of modern BPF capabilities.
The new v3 patches have adjusted various functions and other adjustments based on review from the prior round of patches. Those interested in the topic of improving the Linux out-of-memory handling via BPF can see the v3 patches on [3]the kernel mailing list .
[1] https://www.phoronix.com/news/Customize-Linux-OOM-Using-BPF
[2] https://www.phoronix.com/news/Linux-OOM-BPF-Proposal
[3] https://lore.kernel.org/lkml/20260127024421.494929-1-roman.gushchin@linux.dev/
Roman has been leading the latest effort to customize Linux's out of memory handling using BPF programs. Via convenient BPF programs it would be possible to establish the OOM handling policy and for the Pressure Stall Information (PSI) based OOM invocation. Compared to prior code attempts, this effort by Roman remains focused on being as generic as possible and taking full advantage of modern BPF capabilities.
The new v3 patches have adjusted various functions and other adjustments based on review from the prior round of patches. Those interested in the topic of improving the Linux out-of-memory handling via BPF can see the v3 patches on [3]the kernel mailing list .
[1] https://www.phoronix.com/news/Customize-Linux-OOM-Using-BPF
[2] https://www.phoronix.com/news/Linux-OOM-BPF-Proposal
[3] https://lore.kernel.org/lkml/20260127024421.494929-1-roman.gushchin@linux.dev/