diff options
| author | Oleg Nesterov <oleg@redhat.com> | 2026-10-11 16:16:51 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-12 10:39:51 +0200 |
| commit | 41e24dc80739b07d592566ceeaf0bb5e3620cc5c (patch) | |
| tree | be3d15625e0a7c9d05b8db0a5be43360b558ea0e /tools/lib/python | |
| parent | ed14a591175bb5f56c2936b082cffb9e4b935e6d (diff) | |
| download | linux-next-41e24dc80739b07d592566ceeaf0bb5e3620cc5c.tar.gz linux-next-41e24dc80739b07d592566ceeaf0bb5e3620cc5c.zip | |
pid: document that do_each_pid_task() needs tasklist_lock
do_each_pid_task() looks "obviously rcu-safe". This confuses people
and we already have 2 buggy users: send_sigio() and send_sigurg().
The reasons why it is not are not obvious at all, add the comment.
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Link: https://patch.msgid.link/asuaU8H_5MbO3-cW@redhat.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
