]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pid: sprinkle tasklist_lock asserts
authorMateusz Guzik <mjguzik@gmail.com>
Thu, 6 Feb 2025 16:44:12 +0000 (17:44 +0100)
committerChristian Brauner <brauner@kernel.org>
Fri, 7 Feb 2025 10:22:43 +0000 (11:22 +0100)
commit74198dc2067b2aa14e411b29ce50ea3f418a43ab
tree183370884aa22b8fa9893c26b04a188317ff4713
parent6731cd97e60d6f3a30057c0fc513aed543187104
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>
kernel/pid.c