Re: [PATCH v2] cgroup/rstat: validate cpu before css_rstat_cpu() access

From: Shakeel Butt

Date: Mon May 18 2026 - 19:09:00 EST


On Mon, May 18, 2026 at 09:36:36AM -1000, Tejun Heo wrote:
> Hello,
>
> > Qing Ming (1):
> > cgroup/rstat: validate cpu before css_rstat_cpu() access
>
> Applied to cgroup/for-7.1-fixes.
>
> In hindsight, we should have added a separate kfunc wrapper from the
> start instead of tagging css_rstat_updated() with __bpf_kfunc directly,
> which would have avoided the rename. Oh well, it is what it is.

Is it frown upon to change the kfunc signature or remove __bpf_kfunc from a
function? I am assuming we can but better not to, correct?