diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-01-20 20:39:01 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-01-20 20:39:01 -0800 |
| commit | ba335bf3a5b8c5f47d56e9be3f96e0989dad5346 (patch) | |
| tree | aa25ec6488ff79e94a1359e771374d0bdcc90e85 /scripts | |
| parent | 83c9030cdc45e0518d71065c25201a24eafc9818 (diff) | |
| parent | 4fca95095cdcd81bd4a8c8c7008fb3c175a3a5d5 (diff) | |
Merge branch 'bpf-x86-inline-bpf_get_current_task-for-x86_64'
Menglong Dong says:
====================
bpf, x86: inline bpf_get_current_task() for x86_64
Inline bpf_get_current_task() and bpf_get_current_task_btf() for x86_64
to obtain better performance, and add the testcase for it.
Changes since v5:
* remove unnecessary 'ifdef' and __description in the selftests
* v5: https://lore.kernel.org/bpf/20260119070246.249499-1-dongml2@chinatelecom.cn/
Changes since v4:
* don't support the !CONFIG_SMP case
* v4: https://lore.kernel.org/bpf/20260112104529.224645-1-dongml2@chinatelecom.cn/
Changes since v3:
* handle the !CONFIG_SMP case
* ignore the !CONFIG_SMP case in the testcase, as we enable CONFIG_SMP
for x86_64 in the selftests
Changes since v2:
* implement it in the verifier with BPF_MOV64_PERCPU_REG() instead of in
x86_64 JIT (Alexei).
Changes since v1:
* add the testcase
* remove the usage of const_current_task
====================
Link: https://patch.msgid.link/20260120070555.233486-1-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
