Re: [PATCH v2] mm/mmap: Regression fix for unmapped_area{_topdown}

From: Andrew Morton
Date: Fri Apr 14 2023 - 15:10:30 EST


On Fri, 14 Apr 2023 14:59:19 -0400 "Liam R. Howlett" <Liam.Howlett@xxxxxxxxxx> wrote:

> The maple tree limits the gap returned to a window that specifically
> fits what was asked. This may not be optimal in the case of switching
> search directions or a gap that does not satisfy the requested space for
> other reasons. Fix the search by retrying the operation and limiting
> the search window in the rare occasion that a conflict occurs.

This is a performance regression, yes? Of what magnitude?