summaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04bpf: Remove unnecessary cpu == 0 check in memallocYonghong Song1-1/+1
2024-01-04bpf: Use smaller low/high marks for percpu allocationYonghong Song1-1/+7
2024-01-04bpf: Refill only one percpu element in memallocYonghong Song1-4/+9
2024-01-04bpf: Allow per unit prefill for non-fix-size percpu memory allocatorYonghong Song1-1/+56
2024-01-04bpf: Add objcg to bpf_mem_allocYonghong Song1-5/+6
2024-01-04bpf: Avoid unnecessary extra percpu memory allocationYonghong Song1-1/+3
2023-12-21bpf: Use c->unit_size to select target cache during freeHou Tao1-94/+11
2023-11-27bpf: Add missed allocation hint for bpf_mem_cache_alloc_flags()Hou Tao1-0/+2
2023-10-26bpf: Add more WARN_ON_ONCE checks for mismatched alloc and freeHou Tao1-0/+4
2023-10-21bpf: Use pcpu_alloc_size() in bpf_mem_free{_rcu}()Hou Tao1-2/+14
2023-10-21bpf: Re-enable unit_size checking for global per-cpu allocatorHou Tao1-10/+12
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-25/+19
2023-09-30bpf: Use kmalloc_size_roundup() to adjust size_indexHou Tao1-25/+19
2023-09-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-4/+90
2023-09-15bpf: Skip unit_size checking for global per-cpu allocatorHou Tao1-0/+7
2023-09-11bpf: Ensure unit_size is matched with slab cache object sizeHou Tao1-2/+31
2023-09-11bpf: Don't prefill for unused bpf_mem_cacheHou Tao1-2/+14
2023-09-11bpf: Adjust size_index according to the value of KMALLOC_MIN_SIZEHou Tao1-0/+38
2023-09-08bpf: Enable IRQ after irq_work_raise() completes in unit_free{_rcu}()Hou Tao1-2/+7
2023-09-08bpf: Enable IRQ after irq_work_raise() completes in unit_alloc()Hou Tao1-1/+6
2023-09-08bpf: Add support for non-fix-size percpu mem allocationYonghong Song1-8/+6
2023-07-28bpf: Non-atomically allocate freelist during prefillYiFei Zhu1-4/+8
2023-07-26bpf: work around -Wuninitialized warningArnd Bergmann1-6/+6
2023-07-13bpf: Add object leak check.Hou Tao1-0/+35
2023-07-13bpf: Introduce bpf_mem_free_rcu() similar to kfree_rcu().Alexei Starovoitov1-3/+126
2023-07-13bpf: Allow reuse from waiting_for_gp_ttrace list.Alexei Starovoitov1-6/+10
2023-07-13bpf: Add a hint to allocated objects.Alexei Starovoitov1-19/+31
2023-07-13bpf: Change bpf_mem_cache draining process.Alexei Starovoitov1-9/+9
2023-07-13bpf: Further refactor alloc_bulk().Alexei Starovoitov1-12/+18
2023-07-13bpf: Factor out inc/dec of active flag into helpers.Alexei Starovoitov1-12/+18
2023-07-13bpf: Refactor alloc_bulk().Alexei Starovoitov1-20/+26
2023-07-13bpf: Let free_all() return the number of freed elements.Alexei Starovoitov1-2/+6
2023-07-13bpf: Simplify code of destroy_mem_alloc() with kmemdup().Alexei Starovoitov1-5/+2
2023-07-13bpf: Rename few bpf_mem_alloc fields.Alexei Starovoitov1-28/+29
2023-06-06bpf: Factor out a common helper free_all()Hou Tao1-15/+16
2023-03-26bpf: Add a few bpf mem allocator functionsMartin KaFai Lau1-9/+50
2023-02-16bpf: Zeroing allocated object from slab in bpf memory allocatorHou Tao1-1/+1
2023-02-11bpf: allow to disable bpf map memory accountingYafang Shao1-1/+2
2023-01-19bpf: Fix off-by-one error in bpf_mem_cache_idx()Hou Tao1-1/+1
2022-12-09bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp() is trueHou Tao1-1/+9
2022-12-09bpf: Reuse freed element in free_by_rcu during allocationHou Tao1-3/+18
2022-10-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+16
2022-10-22bpf: Use __llist_del_all() whenever possbile during memory drainingHou Tao1-2/+5
2022-10-22bpf: Wait for busy refill_work when destroying bpf memory allocatorHou Tao1-0/+11
2022-10-18bpf: Use rcu_trace_implies_rcu_gp() in bpf memory allocatorHou Tao1-5/+10
2022-09-20bpf: Check whether or not node is NULL before free it in free_bulkHou Tao1-1/+2
2022-09-07bpf: Replace __ksize with ksize.Alexei Starovoitov1-1/+1
2022-09-05bpf: Optimize rcu_barrier usage between hash map and bpf_mem_alloc.Alexei Starovoitov1-16/+64
2022-09-05bpf: Remove usage of kmem_cache from bpf_mem_cache.Alexei Starovoitov1-36/+14
2022-09-05bpf: Prepare bpf_mem_alloc to be used by sleepable bpf programs.Alexei Starovoitov1-1/+14