summaryrefslogtreecommitdiffstats
path: root/kernel/bpf/memalloc.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* bpf: Non-atomically allocate freelist during prefillYiFei Zhu2023-07-281-4/+8
* bpf: work around -Wuninitialized warningArnd Bergmann2023-07-261-6/+6
* bpf: Add object leak check.Hou Tao2023-07-121-0/+35
* bpf: Introduce bpf_mem_free_rcu() similar to kfree_rcu().Alexei Starovoitov2023-07-121-3/+126
* bpf: Allow reuse from waiting_for_gp_ttrace list.Alexei Starovoitov2023-07-121-6/+10
* bpf: Add a hint to allocated objects.Alexei Starovoitov2023-07-121-19/+31
* bpf: Change bpf_mem_cache draining process.Alexei Starovoitov2023-07-121-9/+9
* bpf: Further refactor alloc_bulk().Alexei Starovoitov2023-07-121-12/+18
* bpf: Factor out inc/dec of active flag into helpers.Alexei Starovoitov2023-07-121-12/+18
* bpf: Refactor alloc_bulk().Alexei Starovoitov2023-07-121-20/+26
* bpf: Let free_all() return the number of freed elements.Alexei Starovoitov2023-07-121-2/+6
* bpf: Simplify code of destroy_mem_alloc() with kmemdup().Alexei Starovoitov2023-07-121-5/+2
* bpf: Rename few bpf_mem_alloc fields.Alexei Starovoitov2023-07-121-28/+29
* bpf: Factor out a common helper free_all()Hou Tao2023-06-061-15/+16
* bpf: Add a few bpf mem allocator functionsMartin KaFai Lau2023-03-261-9/+50
* bpf: Zeroing allocated object from slab in bpf memory allocatorHou Tao2023-02-161-1/+1
* bpf: allow to disable bpf map memory accountingYafang Shao2023-02-111-1/+2
* bpf: Fix off-by-one error in bpf_mem_cache_idx()Hou Tao2023-01-191-1/+1
* bpf: Skip rcu_barrier() if rcu_trace_implies_rcu_gp() is trueHou Tao2022-12-091-1/+9
* bpf: Reuse freed element in free_by_rcu during allocationHou Tao2022-12-091-3/+18
* Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2022-10-241-2/+16
|\
| * bpf: Use __llist_del_all() whenever possbile during memory drainingHou Tao2022-10-221-2/+5
| * bpf: Wait for busy refill_work when destroying bpf memory allocatorHou Tao2022-10-221-0/+11
* | bpf: Use rcu_trace_implies_rcu_gp() in bpf memory allocatorHou Tao2022-10-181-5/+10
|/
* bpf: Check whether or not node is NULL before free it in free_bulkHou Tao2022-09-201-1/+2
* bpf: Replace __ksize with ksize.Alexei Starovoitov2022-09-071-1/+1
* bpf: Optimize rcu_barrier usage between hash map and bpf_mem_alloc.Alexei Starovoitov2022-09-051-16/+64
* bpf: Remove usage of kmem_cache from bpf_mem_cache.Alexei Starovoitov2022-09-051-36/+14
* bpf: Prepare bpf_mem_alloc to be used by sleepable bpf programs.Alexei Starovoitov2022-09-051-1/+14
* bpf: Add percpu allocation support to bpf_mem_alloc.Alexei Starovoitov2022-09-051-5/+39
* bpf: Batch call_rcu callbacks instead of SLAB_TYPESAFE_BY_RCU.Alexei Starovoitov2022-09-051-3/+62
* bpf: Adjust low/high watermarks in bpf_mem_cacheAlexei Starovoitov2022-09-051-14/+36
* bpf: Optimize call_rcu in non-preallocated hash map.Alexei Starovoitov2022-09-051-1/+1
* bpf: Introduce any context BPF specific memory allocator.Alexei Starovoitov2022-09-051-0/+480