Patch #1 fixed a rcu stall warning by adding proper cond_resched() when traversing tasks or files. Patch #2 calculated tid properly in a namespace in order to avoid visiting the name task multiple times. Yonghong Song (2): bpf: fix a rcu_sched stall issue with bpf task/task_file iterator bpf: avoid visit same object multiple times kernel/bpf/task_iter.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) -- 2.24.1