Re: [PATCH 1/2] [PATCH 1/2] mm: refactor of vma_merge()

From: Kirill A. Shutemov
Date: Fri May 27 2022 - 19:41:15 EST


On Fri, May 27, 2022 at 12:48:09PM +0200, Jakub Matěna wrote:
> Refactor vma_merge() to make it shorter and more understandable.
> Main change is the elimination of code duplicity in the case of
> merge next check. This is done by first doing checks and caching
> the results before executing the merge itself. The variable 'area' is
> divided into 'mid' and 'res' as previously it was used for two purposes,
> as the middle VMA between prev and next and also as the result of the
> merge itself. Exit paths are also unified.
>
> Signed-off-by: Jakub Matěna <matenajakub@xxxxxxxxx>

You've ignored my ack. Or is there substantial changes that you want me to
review again?

--
Kirill A. Shutemov