Re: [PATCH] mm/mlock: Use vma_lookup() instead of find_vma()

From: Matthew Wilcox
Date: Mon Mar 14 2022 - 12:17:18 EST


On Mon, Mar 14, 2022 at 11:17:28PM +0800, Miaohe Lin wrote:
> Using vma_lookup() verifies the start is contained in the found vma. This
> results in easier to read the code.

This conflicts with the maple tree.