summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorEmil Tsalapatis <emil@etsalapatis.com>2026-10-02 10:52:12 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-10-02 13:00:59 +0000
commit11de29f38a3455e5785c5fd5f38d93c413c5e822 (patch)
tree2ead4540317eebad2acdb802f51af9f2e96a7589 /include/linux/timerqueue.h
parentb5a4aa31abd6fe90009b63e35dc18c67d041ec0c (diff)
downloadlinux-next-11de29f38a3455e5785c5fd5f38d93c413c5e822.tar.gz
linux-next-11de29f38a3455e5785c5fd5f38d93c413c5e822.zip
bpf: Use an llist for page allocations
bpf_map_alloc_pages() does not use its map argument. Storing allocated pages in an array also forces arena callers to allocate a separate pointer array. Expose the single-page allocator as bpf_alloc_page(), rename the bulk helper to bpf_alloc_pages(), and return bulk allocations through an llist using page->pcp_llist. Add bpf_free_pages() to safely release all pages remaining on such a list. Signed-off-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261002105218.6171-2-emil@etsalapatis.com
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions