]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Introduce dup_vma_anon() helper
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Wed, 10 Aug 2022 22:11:48 +0000 (18:11 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Tue, 13 Dec 2022 21:03:40 +0000 (16:03 -0500)
commit7d084ea74198fa2f27387510f52d0d966862552b
tree98cba4ce973b6b30b4965855e5d52a309f928a97
parentc39d88abe6c0c448cce9237ca1ebc446f0d629ce
mm/mmap: Introduce dup_vma_anon() helper

Create a helper for duplicating the anon vma when adjusting the vma.
This simplifies the logic of __vma_adjust().

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