]> 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, 28 Nov 2022 21:01:23 +0000 (16:01 -0500)
commit508109b9c396da834a8b3190847fc20493e6279c
tree63b87ae8dcf7b8a4443b554d2e6589d86eb391a0
parentbc2de661c09d8a8c353ab2881ce6985f75772437
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