Re: [PATCH bpf-next v1 3/8] resolve_btfids: Keep collected kfuncs in a rbtree

Eduard Zingerman <[email protected]> Tue, 28 Jul 2026 17:49:58 -0700
Newsgroups org.kernel.vger.linux-input,org.kernel.vger.bpf
Message-ID <[email protected]>
On Wed, 2026-07-22 at 16:35 -0700, Ihor Solodrai wrote:
> Store collected kfuncs in a rbtree keyed by BTF ID instead of a
> dynamically grown array. This allows for efficient deduplication for
> kfuncs declared in multiple sets, which is needed for subsequent
> patches [1].
> 
> [1] https://lore.kernel.org/bpf/CAEf4BzaLzX3mXvQzxv+gbmZOh84XvYofLjMSWFYghNjS-ohEZg@mail.gmail.com/
> 
> Signed-off-by: Ihor Solodrai <[email protected]>
> ---

Reviewed-by: Eduard Zingerman <[email protected]>

...