[PATCH 0/3] bpf: kernel/bpf/task_iter.c: don't abuse next_thread()

From: Oleg Nesterov
Date: Tue Nov 14 2023 - 11:33:28 EST


Compile tested.

Every lockless usage of next_thread() was wrong, bpf/task_iter.c is
the last user and is no exception.

Oleg.
---

kernel/bpf/task_iter.c | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)