2022-05-14 01:48:20

by Muchun Song

[permalink] [raw]
Subject: Re: [PATCH 1/2] mm: rmap: use the correct parameter name for DEFINE_PAGE_VMA_WALK

On Fri, May 13, 2022 at 1:45 AM Yang Shi <[email protected]> wrote:
>
> The parameter used by DEFINE_PAGE_VMA_WALK is _page not page, fix the
> parameter name. It didn't cause any build error, it is probably because
> the only caller is write_protect_page() from ksm.c, which pass in page.
>
> Fixes: 2aff7a4755be ("mm: Convert page_vma_mapped_walk to work on PFNs")
> Signed-off-by: Yang Shi <[email protected]>

Reviewed-by: Muchun Song <[email protected]>

Thanks