]> 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>
Mon, 28 Nov 2022 21:01:06 +0000 (16:01 -0500)
commit7100cb3637f021fdbf055f17440701cb999ea426
tree6bc764462c9432b1858f8e262d939fecfd4e4bb8
parent321b61fc7260d1825a65452bee4dbcd982afb45d
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