Re: [RFC PATCH v2 0/3] BPF-based per-cgroup NUMA balancing mode selection
From: Tejun Heo
Date: Mon Oct 12 2026 - 13:57:50 EST
Hello,
On Mon, Oct 12, 2026 at 08:04:35PM +0800, Yafang Shao wrote:
> This series adds a bpf_numab_ops struct_ops which attaches to a
> cgroup. The kernel consults the policies of the matching cgroup and of
> every ancestor and combines what they return.
The op doesn't compute anything. It returns a fixed mode per cgroup and
that's all the series uses it for. BPF is unnecessary here. This is a
prctl() feature, not a struct_ops one.
Thanks.
--
tejun