bpf: Plumb get_unmapped_area() callback into bpf_map_ops
authorAlexei Starovoitov <ast@kernel.org>
Thu, 7 Mar 2024 03:12:25 +0000 (19:12 -0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Thu, 7 Mar 2024 22:58:48 +0000 (14:58 -0800)
commitcf2c2e4a3d910270903d50462aaa75140cdb2c96
treeaf6f493a310ee8317f38abc0ec963a5fc33637af
parent8d94f1357c00d7706c1f3d0bb568e054cef6aea1
bpf: Plumb get_unmapped_area() callback into bpf_map_ops

Subsequent patches introduce bpf_arena that imposes special alignment
requirements on address selection.

Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/r/20240307031228.42896-4-alexei.starovoitov@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
include/linux/bpf.h
kernel/bpf/syscall.c