Re: [PATCH bpf-next 05/12] libbpf: add resizable non-thread safe internal hashmap

2019-05-22 Thread Stanislav Fomichev
On 05/22, Andrii Nakryiko wrote: > On Wed, May 22, 2019 at 1:30 PM Stanislav Fomichev wrote: > > > > On 05/22, Andrii Nakryiko wrote: > > > There is a need for fast point lookups inside libbpf for multiple use > > > cases (e.g., name resolution for BTF-to-C conversion, by-name lookups in > > > BTF

Re: [PATCH bpf-next 05/12] libbpf: add resizable non-thread safe internal hashmap

2019-05-22 Thread Andrii Nakryiko
On Wed, May 22, 2019 at 1:30 PM Stanislav Fomichev wrote: > > On 05/22, Andrii Nakryiko wrote: > > There is a need for fast point lookups inside libbpf for multiple use > > cases (e.g., name resolution for BTF-to-C conversion, by-name lookups in > > BTF for upcoming BPF CO-RE relocation support, e

Re: [PATCH bpf-next 05/12] libbpf: add resizable non-thread safe internal hashmap

2019-05-22 Thread Stanislav Fomichev
On 05/22, Andrii Nakryiko wrote: > There is a need for fast point lookups inside libbpf for multiple use > cases (e.g., name resolution for BTF-to-C conversion, by-name lookups in > BTF for upcoming BPF CO-RE relocation support, etc). This patch > implements simple resizable non-thread safe hashmap