]> www.infradead.org Git - users/jedix/linux-maple.git/commit
kernel/fork: assert no VMA readers during its destruction
authorSuren Baghdasaryan <surenb@google.com>
Mon, 27 Feb 2023 17:36:19 +0000 (09:36 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:24:53 +0000 (16:24 -0700)
commit1d8fb11a07e3a2a96681d578d2e7eb3e6d574400
tree2e0383731f011a3ef814d46391a9697b32fa719a
parent8b6e12d974dca8b82bf961e2eb75f81d4040debb
kernel/fork: assert no VMA readers during its destruction

Assert there are no holders of VMA lock for reading when it is about to be
destroyed.

Link: https://lkml.kernel.org/r/20230227173632.3292573-21-surenb@google.com
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/fork.c