Re: [PATCH bpf-next v3 0/6] bpf trampoline support "jmp" mode

patchwork-bot+netdevbpf
2025-11-24T18:00:52Z

Hello:

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

On Tue, 18 Nov 2025 20:36:28 +0800 you wrote:
> For now, the bpf trampoline is called by the "call" instruction. However,
> it break the RSB and introduce extra overhead in x86_64 arch.
>
> For example, we hook the function "foo" with fexit, the call and return
> logic will be like this:
> call foo -> call trampoline -> call foo-body ->
> return foo-body -> return foo
>
> [...]

Here is the summary with links:
- [bpf-next,v3,1/6] ftrace: introduce FTRACE_OPS_FL_JMP
https://git.kernel.org/bpf/bpf-next/c/25e4e3565d45
- [bpf-next,v3,2/6] x86/ftrace: implement DYNAMIC_FTRACE_WITH_JMP
https://git.kernel.org/bpf/bpf-next/c/0c3772a8db1f
- [bpf-next,v3,3/6] bpf: fix the usage of BPF_TRAMP_F_SKIP_FRAME
https://git.kernel.org/bpf/bpf-next/c/47c9214dcbea
- [bpf-next,v3,4/6] bpf,x86: adjust the "jmp" mode for bpf trampoline
https://git.kernel.org/bpf/bpf-next/c/373f2f44c300
- [bpf-next,v3,5/6] bpf: specify the old and new poke_type for bpf_arch_text_poke
https://git.kernel.org/bpf/bpf-next/c/ae4a3160d19c
- [bpf-next,v3,6/6] bpf: implement "jmp" mode for trampoline
https://git.kernel.org/bpf/bpf-next/c/402e44b31e9d

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.