summaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-26bpf: 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-20bpf: Use pcpu_alloc_size() in bpf_mem_free{_rcu}()Hou Tao1-2/+14
2023-10-20bpf: 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-25bpf: work around -Wuninitialized warningArnd Bergmann1-6/+6
2023-07-12bpf: Add object leak check.Hou Tao1-0/+35
2023-07-12bpf: Introduce bpf_mem_free_rcu() similar to kfree_rcu().Alexei Starovoitov1-3/+126
2023-07-12bpf: Allow reuse from waiting_for_gp_ttrace list.Alexei Starovoitov1-6/+10
2023-07-12bpf: Add a hint to allocated objects.Alexei Starovoitov1-19/+31
2023-07-12bpf: Change bpf_mem_cache draining process.Alexei Starovoitov1-9/+9
2023-07-12bpf: Further refactor alloc_bulk().Alexei Starovoitov1-12/+18
2023-07-12bpf: Factor out inc/dec of active flag into helpers.Alexei Starovoitov1-12/+18
2023-07-12bpf: Refactor alloc_bulk().Alexei Starovoitov1-20/+26
2023-07-12bpf: Let free_all() return the number of freed elements.Alexei Starovoitov1-2/+6
2023-07-12bpf: Simplify code of destroy_mem_alloc() with kmemdup().Alexei Starovoitov1-5/+2
2023-07-12bpf: 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-25bpf: Add a few bpf mem allocator functionsMartin KaFai Lau1-9/+50
2023-02-15bpf: Zeroing allocated object from slab in bpf memory allocatorHou Tao1-1/+1
2023-02-10bpf: allow to disable bpf map memory accountingYafang Shao1-1/+2
2023-01-18bpf: Fix off-by-one error in bpf_mem_cache_idx()Hou Tao1-1/+1
2022-12-08bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp() is trueHou Tao1-1/+9
2022-12-08bpf: 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-21bpf: Use __llist_del_all() whenever possbile during memory drainingHou Tao1-2/+5
2022-10-21bpf: 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-06bpf: 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
2022-09-05bpf: Add percpu allocation support to bpf_mem_alloc.Alexei Starovoitov1-5/+39
2022-09-05bpf: Batch call_rcu callbacks instead of SLAB_TYPESAFE_BY_RCU.Alexei Starovoitov1-3/+62
2022-09-05bpf: Adjust low/high watermarks in bpf_mem_cacheAlexei Starovoitov1-14/+36
2022-09-05bpf: Optimize call_rcu in non-preallocated hash map.Alexei Starovoitov1-1/+1
2022-09-05bpf: Introduce any context BPF specific memory allocator.Alexei Starovoitov1-0/+480