Re: [PATCH bpf-next v4 00/17] mm: BPF OOM

From: Alexei Starovoitov

Date: Wed Dec 02 2026 - 20:24:45 EST


On Wed, Dec 02, 2026 at 01:03 PM Ben Gardon <bgardon@xxxxxxxxxx> wrote:
> - Patch 11: A systemd-oomd style BPF OOM policy example and selftest.

In v3 we agreed on a production ready policy that users can enable
without clang and kernel sources. Roman agreed in for v4:
https://lore.kernel.org/bpf/87zf5x1tqx.fsf@xxxxxxxxx/
but this v4 still doesn't have it.

On bpf infra side we added support for struct-ops in lskel.
So there are no blockers to have builtin bpf_oom policy in vmlinux binary
that just works out of the box.
The user should be able to load a different one, of course. Ideally signed bpf.

pw-bot: cr