]> 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>
Fri, 26 Aug 2022 17:57:55 +0000 (13:57 -0400)
commit4b8d2de4d80577e754c878c25c90caaaeaf4e68a
tree7de2805d863c73cdb262baa2f8909f7a0b3a378b
parent5d121af692e3527d70b55bb4dc1dfc6573d09036
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