Re: [PATCH v4 03/16] mm/swap: Optimise get_shadow_from_swap_cache

From: Christoph Hellwig
Date: Sat Nov 14 2020 - 04:54:09 EST


On Thu, Nov 12, 2020 at 09:26:28PM +0000, Matthew Wilcox (Oracle) wrote:
> There's no need to get a reference to the page, just load the entry and
> see if it's a shadow entry.
>
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>