bpf: kernel/bpf/task_iter.c: don't abuse next_thread()
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | bpf: task_group_seq_get_next: use __next_thread() rather than next_thread()kernel/ | +5 | 3 replies | Applied |
| 2/3 | bpf: bpf_iter_task_next: use __next_thread() rather than next_thread()kernel/ | +4 | 1 reply | Applied |
| 3/3 | bpf: bpf_iter_task_next: use next_task(kit->task) rather than next_task(kit->pos)kernel/ | +5 | 2 replies | Applied |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Yonghong Song |
|---|---|
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] bpf: kernel/bpf/task_iter.c: don't abuse next_thread()
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(-)