Re: [PATCH 3/5] mm: page_vma_mapped: support checking if a pfn is mapped into a vma

From: Christoph Hellwig
Date: Mon Jan 24 2022 - 02:37:05 EST


On Fri, Jan 21, 2022 at 03:55:13PM +0800, Muchun Song wrote:
> + if (pvmw->pte && ((pvmw->flags & PVMW_PFN_WALK) || !PageHuge(pvmw->page)))

Please avoid the overly long line here and in a few other places.

> +/*
> + * Then at what user virtual address will none of the page be found in vma?

Doesn't parse, what is this trying to say?