Re: [PATCH] mm/compaction: Use folio in hugetlb pathway

Zi Yan
2025-04-01T15:23:22Z

On 31 Mar 2025, at 22:10, Vishal Moola (Oracle) wrote:

> Use a folio in the hugetlb pathway during the compaction migrate-able
> pageblock scan.
>
> This removes a call to compound_head().
>
> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
> ---
> include/linux/hugetlb.h | 4 ++--
> mm/compaction.c | 8 ++++----
> mm/hugetlb.c | 3 +--
> 3 files changed, 7 insertions(+), 8 deletions(-)
>
LGTM. Reviewed-by: Zi Yan <ziy@nvidia.com>

Best Regards,
Yan, Zi