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

From: Miaohe Lin
Date: Tue Mar 15 2022 - 08:24:10 EST


On 2022/3/15 0:16, Matthew Wilcox wrote:
> 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.

IIUC, maple tree is the implementation detail of the vma and this patch
should not be conflict with it. But there might be some trival conflict.
Am I supposed to delay this patch until the maple tree's work is done?

Thanks.

>
> .
>