]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Introduce init_vma_prep() and init_multi_vma_prep()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 15 Nov 2022 18:26:52 +0000 (13:26 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 13 Dec 2022 21:03:39 +0000 (16:03 -0500)
commit8f27b1321a69e55d6528d2c2ed58f07e154feba2
treeae7c47089712c25b4d42f32c4648654e52fe057b
parent6fe9fa5580f5d16836bc6130754ca7bda586cdcf
mm/mmap: Introduce init_vma_prep() and init_multi_vma_prep()

Add init_vma_prep() and init_multi_vma_prep() to set up the struct
vma_prepare.  This is to abstract the locking when adjusting the VMAs.

Also change __vma_adjust() variable remove_next int in favour of a
pointer to the VMA to remove.  Rename next_next to remove2 since this
better reflects its use.

Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c