Re: [PATCH bpf v2 0/3] bpf: two fixes for bpf iterators

2020-08-18 Thread Yonghong Song
On 8/18/20 3:23 PM, Yonghong Song wrote: Patch #1 fixed a rcu stall warning when traversing large number of tasks/files without overflowing seq_file buffer. The method is to control the number of visited objects in bpf_seq_read() so all bpf iterators will benefit. Patch #2 calculated tid prop

[PATCH bpf v2 0/3] bpf: two fixes for bpf iterators

2020-08-18 Thread Yonghong Song
Patch #1 fixed a rcu stall warning when traversing large number of tasks/files without overflowing seq_file buffer. The method is to control the number of visited objects in bpf_seq_read() so all bpf iterators will benefit. Patch #2 calculated tid properly in a namespace in order to avoid visiting