]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Introduce init_vma_lock()
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 9 Aug 2022 20:25:02 +0000 (16:25 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Fri, 26 Aug 2022 17:57:55 +0000 (13:57 -0400)
commit8895bea61d587f4544a47ebd6dca107e0c34e85f
tree21d0817e3cb9a9134990a16df48f2257dd49e166
parentdfa623cad7df6a5bc194f46b4a35e59ad6223c68
mm/mmap: Introduce init_vma_lock()

Add init_vma_lock() to set up the struct vma_locking.  This is to
abstract the locking when adjusting VMAs.

Also remove the use of 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