]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Remove unnecessary write to vma iterator in __vma_adjust()
authorLiam Howlett <Liam.Howlett@oracle.com>
Mon, 14 Nov 2022 16:08:16 +0000 (11:08 -0500)
committerLiam Howlett <Liam.Howlett@oracle.com>
Mon, 14 Nov 2022 19:57:07 +0000 (14:57 -0500)
commit8c6306f42bfd14fdb95b83299d6532e08ca8c1c6
treede53b5ec3ec48505df77a493e48b5adccb364cdc
parentd0ec8a2f2beb68d90dafe35e0c5fe7688351acc3
mm: Remove unnecessary write to vma iterator in __vma_adjust()

If the vma start address is going to change due to an insert, then it is
safe to not write the vma to the tree.  The write of the insert vma will
alter the tree as necessary.

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