Re: [PATCH v2 1/2] mm/hugetlb: convert dissolve_free_huge_pages() to folios

From: Miaohe Lin
Date: Tue Apr 16 2024 - 05:18:38 EST


On 2024/4/13 2:21, Sidhartha Kumar wrote:
> Allows us to rename dissolve_free_huge_pages() to
> dissolve_free_hugetlb_folio(). Convert one caller to pass in a folio
> directly and use page_folio() to convert the caller in mm/memory-failure.
>
> Signed-off-by: Sidhartha Kumar <sidhartha.kumar@xxxxxxxxxx>
> Reviewed-by: Oscar Salvador <osalvador@xxxxxxx>
> ---
>
> v1 -> v2:
> - Change additional comments which reference hugepages to
> hugetlb folios per Miaohe Lin.
> - introduce patch 2
>
> include/linux/hugetlb.h | 4 ++--
> mm/hugetlb.c | 17 ++++++++---------
> mm/memory-failure.c | 8 ++++----
> 3 files changed, 14 insertions(+), 15 deletions(-)

Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
Thanks.
.