]> 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>
Wed, 5 Apr 2023 23:02:09 +0000 (16:02 -0700)
commitd2d6de1759835a4899bf5e9613ca5d4bd5d7b1fd
tree4ace1a33c67e90d96bd6020b8353d545be39d395
parent3d5392af80aebb2afc43e78c4e61f364ade0d304
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