[PATCH] bpf, arm64: inline bpf_get_current_task/_btf() helpers
patchwork-bot+netdevbpf at kernel.org
patchwork-bot+netdevbpf at kernel.org
Fri Jun 21 14:30:30 PDT 2024
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii at kernel.org>:
On Wed, 19 Jun 2024 13:13:34 +0000 you wrote:
> On ARM64, the pointer to task_struct is always available in the sp_el0
> register and therefore the calls to bpf_get_current_task() and
> bpf_get_current_task_btf() can be inlined into a single MRS instruction.
>
> Here is the difference before and after this change:
>
> Before:
>
> [...]
Here is the summary with links:
- bpf, arm64: inline bpf_get_current_task/_btf() helpers
https://git.kernel.org/bpf/bpf-next/c/2bb138cb20a6
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