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

From: Ralph Campbell
Date: Mon Mar 08 2021 - 13:31:03 EST



On 3/3/21 10:16 PM, Alistair Popple wrote:
Both migration and device private pages use special swap entries that
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 read and write entry
creation.

Signed-off-by: Alistair Popple <apopple@xxxxxxxxxx>
Reviewed-by: Christoph Hellwig <hch@xxxxxx>
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>

Looks good to me too.
Reviewed-by: Ralph Campbell <rcampbell@xxxxxxxxxx>