]> git.ipfire.org Git - thirdparty/linux.git/commit
bpf, x86: inline bpf_get_current_task() for x86_64
authorMenglong Dong <menglong8.dong@gmail.com>
Tue, 20 Jan 2026 07:05:54 +0000 (15:05 +0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 21 Jan 2026 04:39:01 +0000 (20:39 -0800)
commiteaedea154eb96b2f4ba8ec8e4397dab10758a705
treee489082ed52c636b882ad628ebee526214f233ae
parent83c9030cdc45e0518d71065c25201a24eafc9818
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.

Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260120070555.233486-2-dongml2@chinatelecom.cn
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c