diff options
author | 2025-02-06 17:44:12 +0100 | |
---|---|---|
committer | 2025-02-07 11:22:43 +0100 | |
commit | 74198dc2067b2aa14e411b29ce50ea3f418a43ab (patch) | |
tree | 183370884aa22b8fa9893c26b04a188317ff4713 /scripts/generate_rust_analyzer.py | |
parent | exit: hoist get_pid() in release_task() outside of tasklist_lock (diff) | |
download | wireguard-linux-74198dc2067b2aa14e411b29ce50ea3f418a43ab.tar.xz wireguard-linux-74198dc2067b2aa14e411b29ce50ea3f418a43ab.zip |
pid: sprinkle tasklist_lock asserts
They cost nothing on production kernels and document the requirement of
holding the tasklist_lock lock in respective routines.
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250206164415.450051-4-mjguzik@gmail.com
Acked-by: "Liam R. Howlett" <Liam.Howlett@Oracle.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions