]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm/mmap: Don't adjust next for maple tree operations.
authorLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 25 Feb 2020 02:36:03 +0000 (21:36 -0500)
committerLiam R. Howlett <Liam.Howlett@Oracle.com>
Tue, 5 Jan 2021 17:28:22 +0000 (12:28 -0500)
commit9ed69444fa9041832ddff6e4a525314dc8747ed1
tree62dfe3a872439da250ef0d9d51e58d75052e7573
parent81fab23f6d96671ed796cdd043aedb391a5d0fa6
mm/mmap: Don't adjust next for maple tree operations.

As maple tree store operation will alter the start location of the next
node if it they overlap, there is no need to erase and store the same
VMA.  In fact, since the start location is now occupied by the current
VMA, the erase operation will remove the wrong entry.

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