Re: [PATCH 4/8] mm: move free_devmap_managed_page to memremap.c

From: Jason Gunthorpe
Date: Mon Feb 07 2022 - 14:33:30 EST


On Mon, Feb 07, 2022 at 07:32:45AM +0100, Christoph Hellwig wrote:
> free_devmap_managed_page has nothing to do with the code in swap.c,
> move it to live with the rest of the code for devmap handling.
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
> include/linux/mm.h | 1 -
> mm/memremap.c | 21 +++++++++++++++++++++
> mm/swap.c | 23 -----------------------
> 3 files changed, 21 insertions(+), 24 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Jason