]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/nommu: remove unnecessary VMA locking
authorSuren Baghdasaryan <surenb@google.com>
Wed, 1 Mar 2023 19:04:57 +0000 (11:04 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:24:53 +0000 (16:24 -0700)
commit4b553ede67726712040386a2cf4f9603db981dad
tree6e1af5a2b465a75f293fb97f930ff54b4de5816a
parentf469a982c307e8c9c47b70948d6353cae0df9297
mm/nommu: remove unnecessary VMA locking

Since CONFIG_PER_VMA_LOCK depends on CONFIG_MMU, the changes in nommu are
not needed.  Remove them.

Link: https://lkml.kernel.org/r/20230301190457.1498985-1-surenb@google.com
Fixes: bad94decd6a4 ("mm: write-lock VMAs before removing them from VMA tree")
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Reported-by: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Link: https://lore.kernel.org/all/Y%2F8CJQGNuMUTdLwP@localhost/
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/nommu.c