]> 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>
Mon, 15 Aug 2022 14:46:43 +0000 (10:46 -0400)
commitf8c4177e3b38014f5724ad49fd6865dcf5e801e0
treef345589612abcb670474b0817d1d83bccc9ebc81
parent8e82e20ad9ce5f1cd4522e5f6806bc5a3eda0911
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