diff options
author | 2025-02-06 17:44:11 +0100 | |
---|---|---|
committer | 2025-02-07 11:22:43 +0100 | |
commit | 6731cd97e60d6f3a30057c0fc513aed543187104 (patch) | |
tree | 10e56d9ba6de1b363633fa2db2c6db843b43e410 /scripts/generate_rust_analyzer.py | |
parent | exit: perform add_device_randomness() without tasklist_lock (diff) | |
download | wireguard-linux-6731cd97e60d6f3a30057c0fc513aed543187104.tar.xz wireguard-linux-6731cd97e60d6f3a30057c0fc513aed543187104.zip |
exit: hoist get_pid() in release_task() outside of tasklist_lock
Reduces hold time as get_pid() contains an atomic.
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Link: https://lore.kernel.org/r/20250206164415.450051-3-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