Re: [PATCH bpf-next v2 0/4] riscv, bpf: Miscellaneous JIT optimizations
From: patchwork-bot+netdevbpf
Date: Wed Dec 02 2026 - 23:00:12 EST
Hello:
This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Wed, 2 Dec 2026 02:32:33 +0000 you wrote:
> From: Pu Lehui <pulehui@xxxxxxxxxx>
>
> This series brings four improvements to the RISC-V BPF JIT:
>
> - Patch 1 fixes forward jump offset calculation across JIT passes so
> large programs (e.g. no_limits/dump) converge in 2 passes instead of
> hitting NR_JIT_ITERATIONS.
> - Patch 2 reuses the tailcall epilogue across multiple bpf_tail_call()
> sites on RV64 to shrink JIT image size.
> - Patch 3 introduces a per-image PLT on RV64 to eliminate stop_machine()
> in bpf_arch_text_poke(), reducing trampoline attach/detach latency.
> - Patch 4 removes the now-redundant RV64 arch_bpf_trampoline_skip() and
> 4-byte-aligns the skip nop in invoke_bpf_prog().
>
> [...]
Here is the summary with links:
- [bpf-next,v2,1/4] riscv, bpf: Fix forward jump offset calculation during JIT passes
https://git.kernel.org/bpf/bpf-next/c/98e822f5f824
- [bpf-next,v2,2/4] riscv, bpf: Reuse tailcall epilogue across tailcall sites
https://git.kernel.org/bpf/bpf-next/c/d8a32701ba53
- [bpf-next,v2,3/4] riscv, bpf: Eliminate stop_machine in bpf_arch_text_poke with per-image PLT
https://git.kernel.org/bpf/bpf-next/c/583227375d0e
- [bpf-next,v2,4/4] riscv, bpf: Remove arch_bpf_trampoline_skip
https://git.kernel.org/bpf/bpf-next/c/c3b1e2d1221e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html