]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: avoid assertion in untrack_pfn
authorSuren Baghdasaryan <surenb@google.com>
Fri, 11 Nov 2022 18:51:37 +0000 (18:51 +0000)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 4 Jan 2023 20:59:27 +0000 (15:59 -0500)
commitd54cb91bdebed4756938f1251dbe6080a133394e
tree960e32ab1bc18fc9b7cad1c78b509a7367c8e866
parent531e824d0e58b32b9ad6c5038336d47a2d8eb06c
mm: avoid assertion in untrack_pfn

untrack_pfn can be called after VMA was isolated and mmap_lock downgraded.
An attempt to lock affected VMA would cause an assertion, therefore
use mod_vm_flags_nolock in such situations.

Signed-off-by: Suren Baghdasaryan <surenb@google.com>
arch/x86/mm/pat/memtype.c
include/linux/mm.h
include/linux/pgtable.h
mm/memory.c
mm/memremap.c
mm/mmap.c