[PATCH -next v5 0/5] bpf, arm64: Optimize BPF store/load using arm64 str/ldr(immediate)
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Thu Mar 31 16:20:11 PDT 2022
Hello:
This series was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel at iogearbox.net>:
On Mon, 21 Mar 2022 11:28:47 -0400 you wrote:
> The current BPF store/load instruction is translated by the JIT into two
> instructions. The first instruction moves the immediate offset into a
> temporary register. The second instruction uses this temporary register
> to do the real store/load.
>
> In fact, arm64 supports addressing with immediate offsets. So This series
> introduces optimization that uses arm64 str/ldr instruction with immediate
> offset when the offset fits.
>
> [...]
Here is the summary with links:
- [bpf-next,v5,1/5] arm64: insn: add ldr/str with immediate offset
https://git.kernel.org/bpf/bpf-next/c/30c90f6757a7
- [bpf-next,v5,2/5] bpf, arm64: Optimize BPF store/load using arm64 str/ldr(immediate offset)
https://git.kernel.org/bpf/bpf-next/c/7db6c0f1d8ee
- [bpf-next,v5,3/5] bpf, arm64: adjust the offset of str/ldr(immediate) to positive number
https://git.kernel.org/bpf/bpf-next/c/5b3d19b9bd40
- [bpf-next,v5,4/5] bpf/tests: Add tests for BPF_LDX/BPF_STX with different offsets
https://git.kernel.org/bpf/bpf-next/c/f516420f683d
- [bpf-next,v5,5/5] bpf, arm64: add load store test case for tail call
https://git.kernel.org/bpf/bpf-next/c/38608ee7b690
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the linux-arm-kernel
mailing list