]> 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>
Thu, 11 Aug 2022 21:09:07 +0000 (17:09 -0400)
commit5b51494fbb0baf8236661e2bc36f4e1d35d9dbaa
treef345589612abcb670474b0817d1d83bccc9ebc81
parent3b7753e3b4a696710d49a6c9879584c9c17d7415
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