Re: [PATCH bpf-next v3 0/3] bpf: Reduce verifier stack frame size

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

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

On Thu,  3 Jul 2025 07:11:01 -0700 you wrote:
> Arnd Bergmann reported an issue ([1]) where clang compiler (less than
> llvm18) may trigger an error where the stack frame size exceeds the limit.
> I can reproduce the error like below:
>   kernel/bpf/verifier.c:24491:5: error: stack frame size (2552) exceeds limit (1280) in 'bpf_check'
>       [-Werror,-Wframe-larger-than]
>   kernel/bpf/verifier.c:19921:12: error: stack frame size (1368) exceeds limit (1280) in 'do_check'
>       [-Werror,-Wframe-larger-than]
> 
> [...]

Here is the summary with links:
  - [bpf-next,v3,1/3] bpf: Simplify assignment to struct bpf_insn pointer in do_misc_fixups()
    https://git.kernel.org/bpf/bpf-next/c/3b87251439b2
  - [bpf-next,v3,2/3] bpf: Reduce stack frame size by using env->insn_buf for bpf insns
    https://git.kernel.org/bpf/bpf-next/c/45e9cd38aa8d
  - [bpf-next,v3,3/3] bpf: Avoid putting struct bpf_scc_callchain variables on the stack
    https://git.kernel.org/bpf/bpf-next/c/82bc4abf28d8

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






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux