On Thu, Dec 03, 2020 at 01:59:07PM -0800, Jonathan Lemon wrote: > From: Jonathan Lemon <b...@fb.com> > > If unable to obtain the file structure for the current task, > proceed to the next task number after the one returned from > task_seq_get_next(), instead of the next task number from the > original iterator. > > Use thread_group_leader() instead of comparing tgid vs pid, which > might may be racy. > > Only obtain the task reference count at the end of the RCU section > instead of repeatedly obtaining/releasing it when iterathing though > a thread group. > > This patch fixes a recurring RCU stall seen from task_file_seq_next(). > > Fixes: a650da2ee52a ("bpf: Add task and task/file iterator targets") > Fixes: 67b6b863e6ab ("bpf: Avoid iterating duplicated files for task_file > iterator")
There are no such sha-s in bpf-next tree. Pls fix.