summaryrefslogtreecommitdiff
path: root/kernel/bpf/memalloc.c
AgeCommit message (Expand)AuthorFilesLines
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
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