Re: [PATCH bpf-next v1 3/8] bpf: Support for kfuncs with KF_MAGIC_ARGS

Alexei Starovoitov
2025-10-30T00:03:37Z

On Wed, Oct 29, 2025 at 4:54 PM Eduard Zingerman <eddyz87@gmail.com> wrote:
>
> On Wed, 2025-10-29 at 12:01 -0700, Ihor Solodrai wrote:
> > A kernel function bpf_foo with KF_MAGIC_ARGS flag is expected to have
> ^^^^^^^^^^^^^
> I don't like this name very much.
> It bears very little context.
> Imo, KF_IMPLICIT_ARGS fits the use case much better.

+1
I hate the name as well.
KF_IMPLICIT_ARGS sounds much better and can be abbreviated
to "__impl" in arg names.
That way it will accidentally match our existing _impl() kfuncs
though there _impl meant "implementation".

I think this double meaning of "impl" as "implementation specific"
and "implicit" actually fits.