diff options
author | 2023-09-09 19:26:29 +0200 | |
---|---|---|
committer | 2023-10-04 10:41:57 -0700 | |
commit | 13b7bc60b5353371460a203df6c38ccd38ad7a3a (patch) | |
tree | 7205d8460af43009851b1087d15da6e7dd874b10 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | getrusage: add the "signal_struct *sig" local variable (diff) | |
download | wireguard-linux-13b7bc60b5353371460a203df6c38ccd38ad7a3a.tar.xz wireguard-linux-13b7bc60b5353371460a203df6c38ccd38ad7a3a.zip |
getrusage: use __for_each_thread()
do/while_each_thread should be avoided when possible.
Plus this change allows to avoid lock_task_sighand(), we can use rcu
and/or sig->stats_lock instead.
Link: https://lkml.kernel.org/r/20230909172629.GA20454@redhat.com
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions