Re: [PATCH bpf] bpf: fix a rcu warning for bpffs map pretty-print

2020-09-15 Thread Alexei Starovoitov
On Tue, Sep 15, 2020 at 5:58 PM Andrii Nakryiko wrote: > > On Tue, Sep 15, 2020 at 5:44 PM Yonghong Song wrote: > > > > Running selftest > > ./btf_btf -p > > the kernel had the following warning: > > [ 51.528185] WARNING: CPU: 3 PID: 1756 at kernel/bpf/hashtab.c:717 > > htab_map_get_next_k

Re: [PATCH bpf] bpf: fix a rcu warning for bpffs map pretty-print

2020-09-15 Thread Andrii Nakryiko
On Tue, Sep 15, 2020 at 5:44 PM Yonghong Song wrote: > > Running selftest > ./btf_btf -p > the kernel had the following warning: > [ 51.528185] WARNING: CPU: 3 PID: 1756 at kernel/bpf/hashtab.c:717 > htab_map_get_next_key+0x2eb/0x300 > [ 51.529217] Modules linked in: > [ 51.529583]

[PATCH bpf] bpf: fix a rcu warning for bpffs map pretty-print

2020-09-15 Thread Yonghong Song
Running selftest ./btf_btf -p the kernel had the following warning: [ 51.528185] WARNING: CPU: 3 PID: 1756 at kernel/bpf/hashtab.c:717 htab_map_get_next_key+0x2eb/0x300 [ 51.529217] Modules linked in: [ 51.529583] CPU: 3 PID: 1756 Comm: test_btf Not tainted 5.9.0-rc1+ #878 [ 51.5