]> 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>
Fri, 30 Oct 2020 19:01:14 +0000 (15:01 -0400)
commit9daea556c6465fb93469f71de4c99718dd4ffd86
tree8b2a86911eefabfb0eec0fafe522ced9b743f4af
parentefac1582f0a1a5e7eea92b2ba1f677d9cb6c50a5
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