Thread (2 messages) 2 messages, 2 authors, 2024-10-29

Re: [PATCH bpf-next v2] bpf: use kfunc hooks instead of program types

From: Alexei Starovoitov <hidden>
Date: 2024-10-29 15:15:25
Also in: bpf, linux-trace-kernel, lkml

On Tue, Oct 29, 2024 at 7:34 AM Matteo Croce [off-list ref] wrote:
From: Matteo Croce <redacted>

Pass to register_btf_kfunc_id_set() a btf_kfunc_hook directly, instead
of a bpf_prog_type.
Many program types share the same kfunc hook, so some calls to
register_btf_kfunc_id_set() can be removed.
Still nack for the same reason: let's avoid churn
when kfunc registration needs a redesign.

pw-bot: cr
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help