Re: [PATCH v2 bpf-next 0/4] allow bpf_map_sum_elem_count for all program types

From: patchwork-bot+netdevbpf
Date: Wed Jul 19 2023 - 13:00:30 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Wed, 19 Jul 2023 09:29:48 +0000 you wrote:
> This series is a follow up to the recent change [1] which added
> per-cpu insert/delete statistics for maps. The bpf_map_sum_elem_count
> kfunc presented in the original series was only available to tracing
> programs, so let's make it available to all.
>
> The first patch makes types listed in the reg2btf_ids[] array to be
> considered trusted by kfuncs.
>
> [...]

Here is the summary with links:
- [v2,bpf-next,1/4] bpf: consider types listed in reg2btf_ids as trusted
https://git.kernel.org/bpf/bpf-next/c/831deb2976de
- [v2,bpf-next,2/4] bpf: consider CONST_PTR_TO_MAP as trusted pointer to struct bpf_map
https://git.kernel.org/bpf/bpf-next/c/5ba190c29cf9
- [v2,bpf-next,3/4] bpf: make an argument const in the bpf_map_sum_elem_count kfunc
https://git.kernel.org/bpf/bpf-next/c/9c29804961c1
- [v2,bpf-next,4/4] bpf: allow any program to use the bpf_map_sum_elem_count kfunc
https://git.kernel.org/bpf/bpf-next/c/72829b1c1f16

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html