aboutsummaryrefslogtreecommitdiff
path: root/kernel/bpf/hashtab.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-07bpf: Fix hashtab overflow check on 32-bit archesGravatar Toke Høiland-Jørgensen 1-5/+9
2024-01-11Merge tag 'net-next-6.8' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Gravatar Linus Torvalds 1-3/+9
2023-12-27Kill sched.h dependency on rcupdate.hGravatar Kent Overstreet 1-0/+1
2023-12-13bpf: Reduce the scope of rcu_read_lock when updating fd mapGravatar Hou Tao 1-0/+6
2023-12-04bpf: Add map and need_defer parameters to .map_fd_put_ptr()Gravatar Hou Tao 1-3/+3
2023-10-24bpf: Fix unnecessary -EBUSY from htab_lock_bucketGravatar Song Liu 1-2/+5
2023-07-06bpf: populate the per-cpu insertions/deletions counters for hashmapsGravatar Anton Protopopov 1-2/+20
2023-06-19bpf: Centralize permissions checks for all BPF map typesGravatar Andrii Nakryiko 1-6/+0
2023-05-22bpf: fix a memory leak in the LRU and LRU_PERCPU hash mapsGravatar Anton Protopopov 1-2/+4
2023-04-01bpf: optimize hashmap lookups when key_size is divisible by 4Gravatar Anton Protopopov 1-0/+2
2023-03-22bpf: return long from bpf_map_ops funcsGravatar JP Kobryn 1-18/+18
2023-03-07bpf: hashtab memory usageGravatar Yafang Shao 1-0/+43
2023-03-01bpf: Support kptrs in percpu hashmap and percpu LRU hashmapGravatar Kumar Kartikeya Dwivedi 1-22/+37
2023-02-15bpf: Zeroing allocated object from slab in bpf memory allocatorGravatar Hou Tao 1-2/+2
2023-01-12bpf: hash map, avoid deadlock with suitable hash maskGravatar Tonghao Zhang 1-2/+2
2022-11-17bpf: Do btf_record_free outside map_free callbackGravatar Kumar Kartikeya Dwivedi 1-1/+0
2022-11-03bpf: Consolidate spin_lock, timer management into btf_recordGravatar Kumar Kartikeya Dwivedi 1-16/+8
2022-11-03bpf: Refactor kptr_off_tab into btf_recordGravatar Kumar Kartikeya Dwivedi 1-8/+6
2022-10-11treewide: use get_random_u32() when possibleGravatar Jason A. Donenfeld 1-1/+1
2022-09-21bpf: Always use raw spinlock for hash bucket lockGravatar Hou Tao 1-52/+14
2022-09-10bpf: add missing percpu_counter_destroy() in htab_map_alloc()Gravatar Tetsuo Handa 1-0/+2
2022-09-05bpf: Optimize rcu_barrier usage between hash map and bpf_mem_alloc.Gravatar Alexei Starovoitov 1-3/+3
2022-09-05bpf: Convert percpu hash map to per-cpu bpf_mem_alloc.Gravatar Alexei Starovoitov 1-26/+19
2022-09-05bpf: Add percpu allocation support to bpf_mem_alloc.Gravatar Alexei Starovoitov 1-1/+1
2022-09-05bpf: Optimize call_rcu in non-preallocated hash map.Gravatar Alexei Starovoitov 1-2/+6
2022-09-05bpf: Optimize element count in non-preallocated hash map.Gravatar Alexei Starovoitov 1-8/+62
2022-09-05bpf: Convert hash map to bpf_mem_alloc.Gravatar Alexei Starovoitov 1-5/+16
2022-08-31bpf: Propagate error from htab_lock_bucket() to userspaceGravatar Hou Tao 1-2/+5
2022-08-31bpf: Disable preemption when increasing per-cpu map_lockedGravatar Hou Tao 1-5/+18
2022-08-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextGravatar Jakub Kicinski 1-3/+3
2022-08-10bpf: Use bpf_map_area_alloc consistently on bpf map creationGravatar Yafang Shao 1-3/+3
2022-08-10bpf: Make __GFP_NOWARN consistent in bpf map creationGravatar Yafang Shao 1-1/+1
2022-08-10bpf: Acquire map uref in .init_seq_private for hash map iteratorGravatar Hou Tao 1-0/+2
2022-08-09bpf: Don't reinit map value in prealloc_lru_popGravatar Kumar Kartikeya Dwivedi 1-5/+1
2022-07-12bpf: Make non-preallocated allocation low priorityGravatar Yafang Shao 1-3/+3
2022-05-11bpf: add bpf_map_lookup_percpu_elem for percpu mapGravatar Feng Zhou 1-0/+32
2022-05-10bpf: Extend batch operations for map-in-map bpf-mapsGravatar Takshak Chahande 1-2/+11
2022-04-26bpf: Compute map_btf_id during build timeGravatar Menglong Dong 1-15/+7
2022-04-25bpf: Wire up freeing of referenced kptrGravatar Kumar Kartikeya Dwivedi 1-16/+48
2022-04-14bpf: Remove unnecessary type castingsGravatar Yu Zhe 1-1/+1
2022-02-23bpf: Cleanup commentsGravatar Tom Rix 1-1/+1
2021-09-28bpf: Replace callers of BPF_CAST_CALL with proper function typedefGravatar Kees Cook 1-4/+3
2021-09-28bpf: Replace "want address" users of BPF_CAST_CALL with BPF_CALL_IMMGravatar Kees Cook 1-3/+3
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netGravatar Jakub Kicinski 1-2/+2
2021-08-07bpf: Fix integer overflow involving bucket_sizeGravatar Tatsuhiko Yasumatsu 1-2/+2
2021-07-15bpf: Add map side support for bpf timers.Gravatar Alexei Starovoitov 1-12/+93
2021-06-24bpf: Allow RCU-protected lookups to happen from bh contextGravatar Toke Høiland-Jørgensen 1-7/+14
2021-05-24bpf: Fix spelling mistakesGravatar Zhen Lei 1-2/+2
2021-05-24bpf: Add lookup_and_delete_elem support to hashtabGravatar Denis Salopek 1-0/+98
2021-03-16kernel/bpf/: Fix misspellings using codespell toolGravatar Liu xuzhi 1-1/+1