summaryrefslogtreecommitdiff
path: root/kernel/bpf/hashtab.c
AgeCommit message (Expand)AuthorFilesLines
2023-02-16bpf: Zeroing allocated object from slab in bpf memory allocatorHou Tao1-2/+2
2023-01-13bpf: hash map, avoid deadlock with suitable hash maskTonghao Zhang1-2/+2
2022-11-18bpf: Do btf_record_free outside map_free callbackKumar Kartikeya Dwivedi1-1/+0
2022-11-04bpf: Consolidate spin_lock, timer management into btf_recordKumar Kartikeya Dwivedi1-16/+8
2022-11-04bpf: Refactor kptr_off_tab into btf_recordKumar Kartikeya Dwivedi1-8/+6
2022-10-12treewide: use get_random_u32() when possibleJason A. Donenfeld1-1/+1
2022-09-22bpf: Always use raw spinlock for hash bucket lockHou Tao1-52/+14
2022-09-11bpf: add missing percpu_counter_destroy() in htab_map_alloc()Tetsuo Handa1-0/+2
2022-09-05bpf: Optimize rcu_barrier usage between hash map and bpf_mem_alloc.Alexei Starovoitov1-3/+3
2022-09-05bpf: Convert percpu hash map to per-cpu bpf_mem_alloc.Alexei Starovoitov1-26/+19
2022-09-05bpf: Add percpu allocation support to bpf_mem_alloc.Alexei Starovoitov1-1/+1
2022-09-05bpf: Optimize call_rcu in non-preallocated hash map.Alexei Starovoitov1-2/+6
2022-09-05bpf: Optimize element count in non-preallocated hash map.Alexei Starovoitov1-8/+62
2022-09-05bpf: Convert hash map to bpf_mem_alloc.Alexei Starovoitov1-5/+16
2022-09-01bpf: Propagate error from htab_lock_bucket() to userspaceHou Tao1-2/+5
2022-09-01bpf: Disable preemption when increasing per-cpu map_lockedHou Tao1-5/+18
2022-08-18Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-3/+3
2022-08-10bpf: Use bpf_map_area_alloc consistently on bpf map creationYafang Shao1-3/+3
2022-08-10bpf: Make __GFP_NOWARN consistent in bpf map creationYafang Shao1-1/+1
2022-08-10bpf: Acquire map uref in .init_seq_private for hash map iteratorHou Tao1-0/+2
2022-08-10bpf: Don't reinit map value in prealloc_lru_popKumar Kartikeya Dwivedi1-5/+1
2022-07-13bpf: Make non-preallocated allocation low priorityYafang Shao1-3/+3
2022-05-12bpf: add bpf_map_lookup_percpu_elem for percpu mapFeng Zhou1-0/+32
2022-05-10bpf: Extend batch operations for map-in-map bpf-mapsTakshak Chahande1-2/+11
2022-04-26bpf: Compute map_btf_id during build timeMenglong Dong1-15/+7
2022-04-26bpf: Wire up freeing of referenced kptrKumar Kartikeya Dwivedi1-16/+48
2022-04-14bpf: Remove unnecessary type castingsYu Zhe1-1/+1
2022-02-24bpf: Cleanup commentsTom Rix1-1/+1
2021-09-29bpf: Replace callers of BPF_CAST_CALL with proper function typedefKees Cook1-4/+3
2021-09-29bpf: Replace "want address" users of BPF_CAST_CALL with BPF_CALL_IMMKees Cook1-3/+3
2021-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-2/+2
2021-08-07bpf: Fix integer overflow involving bucket_sizeTatsuhiko Yasumatsu1-2/+2
2021-07-15bpf: Add map side support for bpf timers.Alexei Starovoitov1-12/+93
2021-06-24bpf: Allow RCU-protected lookups to happen from bh contextToke Høiland-Jørgensen1-7/+14
2021-05-25bpf: Fix spelling mistakesZhen Lei1-2/+2
2021-05-24bpf: Add lookup_and_delete_elem support to hashtabDenis Salopek1-0/+98
2021-03-16kernel/bpf/: Fix misspellings using codespell toolLiu xuzhi1-1/+1
2021-02-27bpf: Add hashtab support for bpf_for_each_map_elem() helperYonghong Song1-0/+65
2021-02-11bpf: Allows per-cpu maps and map-in-map in sleepable programsAlexei Starovoitov1-2/+2
2020-12-22bpf: Add schedule point in htab_init_buckets()Eric Dumazet1-0/+1
2020-12-08bpf: Propagate __user annotations properlyLukas Bulwahn1-1/+1
2020-12-07bpf: Avoid overflows involving hash elem_sizeEric Dumazet1-2/+2
2020-12-03bpf: Eliminate rlimit-based memory accounting for hashtab mapsRoman Gushchin1-18/+1
2020-12-03bpf: Refine memcg-based memory accounting for hashtab mapsRoman Gushchin1-10/+14
2020-11-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski1-45/+99
2020-11-06bpf: Lift hashtab key_size limitFlorian Lehner1-11/+5
2020-11-06bpf: Zero-fill re-used per-cpu map elementDavid Verbeiren1-2/+28
2020-11-02bpf: Fix error path in htab_map_alloc()Eric Dumazet1-2/+4
2020-10-30bpf: Avoid hashtab deadlock with map_lockedSong Liu1-32/+82
2020-10-30bpf: Use separate lockdep class for each hashtabSong Liu1-2/+10