
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 the kernel mailing list .