Re: [PATCH v2 18/28] hugetlb: Use try_grab_folio() instead of try_grab_compound_head()

From: Christoph Hellwig
Date: Mon Jan 10 2022 - 03:38:52 EST


On Mon, Jan 10, 2022 at 04:23:56AM +0000, Matthew Wilcox (Oracle) wrote:
> follow_hugetlb_page() only cares about success or failure, so it doesn't
> need to know the type of the returned pointer, only whether it's NULL
> or not.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>