]> 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>
Tue, 13 Dec 2022 21:03:39 +0000 (16:03 -0500)
commit1074cb7e3b69301356bd926ddafa744235aa156c
tree65d99447fedda12167f0eec968ca7eda62637814
parent1176802f40335b5c7fbd78e7a88f8f3e899a55b5
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