summaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorLiam R. Howlett <Liam.Howlett@Oracle.com>2022-09-06 19:48:51 +0000
committerAndrew Morton <akpm@linux-foundation.org>2022-09-26 19:46:17 -0700
commit4dd1b84140c1b87a89d69a683bebbbdaeb620e39 (patch)
tree2b63132bb146dcab2f5b0326e6054ae68b540a30 /mm/debug.c
parentabdba2dda0c477ca708a939b02f9b2e74666ed2d (diff)
downloadlinux-stable-4dd1b84140c1b87a89d69a683bebbbdaeb620e39.tar.gz
linux-stable-4dd1b84140c1b87a89d69a683bebbbdaeb620e39.tar.bz2
linux-stable-4dd1b84140c1b87a89d69a683bebbbdaeb620e39.zip
mm/mmap: use advanced maple tree API for mmap_region()
Changing mmap_region() to use the maple tree state and the advanced maple tree interface allows for a lot less tree walking. This change removes the last caller of munmap_vma_range(), so drop this unused function. Add vma_expand() to expand a VMA if possible by doing the necessary hugepage check, uprobe_munmap of files, dcache flush, modifications then undoing the detaches, etc. Link: https://lkml.kernel.org/r/20220906194824.2110408-25-Liam.Howlett@oracle.com Signed-off-by: Liam R. Howlett <Liam.Howlett@Oracle.com> Tested-by: Yu Zhao <yuzhao@google.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: David Howells <dhowells@redhat.com> Cc: Davidlohr Bueso <dave@stgolabs.net> Cc: "Matthew Wilcox (Oracle)" <willy@infradead.org> Cc: SeongJae Park <sj@kernel.org> Cc: Sven Schnelle <svens@linux.ibm.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Will Deacon <will@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions