]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf:add _impl suffix for bpf_task_work_schedule* kfuncs
authorMykyta Yatsenko <yatsenko@meta.com>
Tue, 4 Nov 2025 22:54:25 +0000 (22:54 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 5 Nov 2025 01:50:25 +0000 (17:50 -0800)
commitea0714d61dea6e00b853a0116d0afe2b2fe70ef3
tree521490695c6936e91274b2b619ed5ca97a6e8a5d
parent156c75f596c98852c30981baea6c2cc8a7a411fc
bpf:add _impl suffix for bpf_task_work_schedule* kfuncs

Rename:
bpf_task_work_schedule_resume()->bpf_task_work_schedule_resume_impl()
bpf_task_work_schedule_signal()->bpf_task_work_schedule_signal_impl()

This aligns task work scheduling kfuncs with the established naming
scheme for kfuncs with the bpf_prog_aux argument provided by the
verifier implicitly. This convention will be taken advantage of with the
upcoming KF_IMPLICIT_ARGS feature to preserve backwards compatibility to
BPF programs.

Acked-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Mykyta Yatsenko <yatsenko@meta.com>
Link: https://lore.kernel.org/r/20251104-implv2-v3-1-4772b9ae0e06@meta.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Ihor Solodrai <ihor.solodrai@linux.dev>
kernel/bpf/helpers.c
kernel/bpf/verifier.c
tools/testing/selftests/bpf/progs/task_work.c
tools/testing/selftests/bpf/progs/task_work_fail.c
tools/testing/selftests/bpf/progs/task_work_stress.c