Re: [PATCH v3 2/8] mm/swapops: Rework swap entry manipulation code

From: Christoph Hellwig
Date: Fri Feb 26 2021 - 11:01:46 EST


On Fri, Feb 26, 2021 at 06:18:26PM +1100, Alistair Popple wrote:
> Both migration and device private pages use special swap entries which
> are manipluated by a range of inline functions. The arguments to these
> are somewhat inconsitent so rework them to remove flag type arguments
> and to make the arguments similar for both a read and write entry
> creation.
>
> Signed-off-by: Alistair Popple <apopple@xxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>