aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04bpf: Remove unnecessary cpu == 0 check in memallocGravatar Yonghong Song 1-1/+1
2024-01-03bpf: Use smaller low/high marks for percpu allocationGravatar Yonghong Song 1-1/+7
2024-01-03bpf: Refill only one percpu element in memallocGravatar Yonghong Song 1-4/+9
2024-01-03bpf: Allow per unit prefill for non-fix-size percpu memory allocatorGravatar Yonghong Song 1-1/+56
2024-01-03bpf: Add objcg to bpf_mem_allocGravatar Yonghong Song 1-5/+6
2024-01-03bpf: Avoid unnecessary extra percpu memory allocationGravatar Yonghong Song 1-1/+3
2023-12-20bpf: Use c->unit_size to select target cache during freeGravatar Hou Tao 1-94/+11
2023-11-26bpf: Add missed allocation hint for bpf_mem_cache_alloc_flags()Gravatar Hou Tao 1-0/+2
2023-10-26bpf: Add more WARN_ON_ONCE checks for mismatched alloc and freeGravatar Hou Tao 1-0/+4
2023-10-20bpf: Use pcpu_alloc_size() in bpf_mem_free{_rcu}()Gravatar Hou Tao 1-2/+14
2023-10-20bpf: Re-enable unit_size checking for global per-cpu allocatorGravatar Hou Tao 1-10/+12
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netGravatar Jakub Kicinski 1-25/+19
2023-09-30bpf: Use kmalloc_size_roundup() to adjust size_indexGravatar Hou Tao 1-25/+19
2023-09-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netGravatar Paolo Abeni 1-4/+90
2023-09-15bpf: Skip unit_size checking for global per-cpu allocatorGravatar Hou Tao 1-0/+7
2023-09-11bpf: Ensure unit_size is matched with slab cache object sizeGravatar Hou Tao 1-2/+31
2023-09-11bpf: Don't prefill for unused bpf_mem_cacheGravatar Hou Tao 1-2/+14
2023-09-11bpf: Adjust size_index according to the value of KMALLOC_MIN_SIZEGravatar Hou Tao 1-0/+38
2023-09-08bpf: Enable IRQ after irq_work_raise() completes in unit_free{_rcu}()Gravatar Hou Tao 1-2/+7
2023-09-08bpf: Enable IRQ after irq_work_raise() completes in unit_alloc()Gravatar Hou Tao 1-1/+6
2023-09-08bpf: Add support for non-fix-size percpu mem allocationGravatar Yonghong Song 1-8/+6
2023-07-28bpf: Non-atomically allocate freelist during prefillGravatar YiFei Zhu 1-4/+8
2023-07-25bpf: work around -Wuninitialized warningGravatar Arnd Bergmann 1-6/+6
2023-07-12bpf: Add object leak check.Gravatar Hou Tao 1-0/+35
2023-07-12bpf: Introduce bpf_mem_free_rcu() similar to kfree_rcu().Gravatar Alexei Starovoitov 1-3/+126
2023-07-12bpf: Allow reuse from waiting_for_gp_ttrace list.Gravatar Alexei Starovoitov 1-6/+10
2023-07-12bpf: Add a hint to allocated objects.Gravatar Alexei Starovoitov 1-19/+31
2023-07-12bpf: Change bpf_mem_cache draining process.Gravatar Alexei Starovoitov 1-9/+9
2023-07-12bpf: Further refactor alloc_bulk().Gravatar Alexei Starovoitov 1-12/+18
2023-07-12bpf: Factor out inc/dec of active flag into helpers.Gravatar Alexei Starovoitov 1-12/+18
2023-07-12bpf: Refactor alloc_bulk().Gravatar Alexei Starovoitov 1-20/+26
2023-07-12bpf: Let free_all() return the number of freed elements.Gravatar Alexei Starovoitov 1-2/+6
2023-07-12bpf: Simplify code of destroy_mem_alloc() with kmemdup().Gravatar Alexei Starovoitov 1-5/+2
2023-07-12bpf: Rename few bpf_mem_alloc fields.Gravatar Alexei Starovoitov 1-28/+29
2023-06-06bpf: Factor out a common helper free_all()Gravatar Hou Tao 1-15/+16
2023-03-25bpf: Add a few bpf mem allocator functionsGravatar Martin KaFai Lau 1-9/+50
2023-02-15bpf: Zeroing allocated object from slab in bpf memory allocatorGravatar Hou Tao 1-1/+1
2023-02-10bpf: allow to disable bpf map memory accountingGravatar Yafang Shao 1-1/+2
2023-01-18bpf: Fix off-by-one error in bpf_mem_cache_idx()Gravatar Hou Tao 1-1/+1
2022-12-08bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp() is trueGravatar Hou Tao 1-1/+9
2022-12-08bpf: Reuse freed element in free_by_rcu during allocationGravatar Hou Tao 1-3/+18
2022-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netGravatar Jakub Kicinski 1-2/+16
2022-10-21bpf: Use __llist_del_all() whenever possbile during memory drainingGravatar Hou Tao 1-2/+5
2022-10-21bpf: Wait for busy refill_work when destroying bpf memory allocatorGravatar Hou Tao 1-0/+11
2022-10-18bpf: Use rcu_trace_implies_rcu_gp() in bpf memory allocatorGravatar Hou Tao 1-5/+10
2022-09-20bpf: Check whether or not node is NULL before free it in free_bulkGravatar Hou Tao 1-1/+2
2022-09-06bpf: Replace __ksize with ksize.Gravatar Alexei Starovoitov 1-1/+1
2022-09-05bpf: Optimize rcu_barrier usage between hash map and bpf_mem_alloc.Gravatar Alexei Starovoitov 1-16/+64
2022-09-05bpf: Remove usage of kmem_cache from bpf_mem_cache.Gravatar Alexei Starovoitov 1-36/+14
2022-09-05bpf: Prepare bpf_mem_alloc to be used by sleepable bpf programs.Gravatar Alexei Starovoitov 1-1/+14