Re: [PATCH 1/2] mm: move page_rmapping() and page_anon_vma() to mm/internal.h

From: Matthew Wilcox
Date: Mon Apr 05 2021 - 14:19:21 EST


On Mon, Apr 05, 2021 at 06:13:54PM +0300, Mike Rapoport wrote:
> From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
>
> The functions page_rmapping() and page_anon_vma() are not used outside core
> mm. Move their declaration from include/linux/mm.h to mm/internal.h
>
> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>

This has purely textual conflicts with the folio series, but no conceptual
conflicts. I generally approve of moving things out of mm.h, so

Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>