Re: [PATCH V10 RESEND 1/2] bpf: refactor stack map trace depth calculation into helper function

From: patchwork-bot+netdevbpf

Date: Tue Oct 28 2025 - 12:30:30 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Sat, 25 Oct 2025 19:28:58 +0000 you wrote:
> Extract the duplicated maximum allowed depth computation for stack
> traces stored in BPF stacks from bpf_get_stackid() and __bpf_get_stack()
> into a dedicated stack_map_calculate_max_depth() helper function.
>
> This unifies the logic for:
> - The max depth computation
> - Enforcing the sysctl_perf_event_max_stack limit
>
> [...]

Here is the summary with links:
- [V10,RESEND,1/2] bpf: refactor stack map trace depth calculation into helper function
https://git.kernel.org/bpf/bpf-next/c/e17d62fedd10
- [V10,RESEND,2/2] bpf: fix stackmap overflow check in __bpf_get_stackid()
https://git.kernel.org/bpf/bpf-next/c/23f852daa4ba

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