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