]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: Remove unnecessary write to vma iterator in __vma_adjust()
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Mon, 14 Nov 2022 16:08:16 +0000 (11:08 -0500)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Mon, 28 Nov 2022 21:00:12 +0000 (16:00 -0500)
commit7178d0f4bf0a1a7472ea222951a1d994aa142a22
tree3e6a538eb1d0984a5c2543ddcba11f5b9f08b8c2
parent72e5de33b9c4768aacfc5e859043dfe1449b0de6
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 R. Howlett <Liam.Howlett@oracle.com>
mm/mmap.c