Files
linux/kernel/bpf
Oleg Nesterov 780aa8dfcb bpf: task_group_seq_get_next: simplify the "next tid" logic
Kill saved_tid. It looks ugly to update *tid and then restore the
previous value if __task_pid_nr_ns() returns 0. Change this code
to update *tid and common->pid_visiting once before return.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20230905154656.GA24950@redhat.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-09-08 08:42:19 -07:00
..
2023-03-08 16:19:51 -08:00
2023-09-08 08:42:17 -07:00
2022-05-10 11:20:45 -07:00
2020-08-28 15:41:30 +02:00
2023-07-31 14:44:02 -07:00