Re: [PATCH v6 1/8] mm: Remove special swap entry functions

From: Christoph Hellwig
Date: Mon Mar 15 2021 - 03:29:14 EST


On Fri, Mar 12, 2021 at 07:38:44PM +1100, Alistair Popple wrote:
> Remove the migration and device private entry_to_page() and
> entry_to_pfn() inline functions and instead open code them directly.
> This results in shorter code which is easier to understand.

I think this commit log should mention pfn_swap_entry_to_page() now.

Otherwise looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>