Re: [PATCH v3 4/5] mm/khugepaged: Convert alloc_charge_hpage() to use folios

From: Rik van Riel
Date: Mon Oct 23 2023 - 21:53:49 EST


On Fri, 2023-10-20 at 11:33 -0700, Vishal Moola (Oracle) wrote:
> Also remove count_memcg_page_event now that its last caller no longer
> uses
> it and reword hpage_collapse_alloc_page() to
> hpage_collapse_alloc_folio().
>
> This removes 1 call to compound_head() and helps convert khugepaged
> to
> use folios throughout.
>
> Signed-off-by: Vishal Moola (Oracle) <vishal.moola@xxxxxxxxx>
>
Reviewed-by: Rik van Riel <riel@xxxxxxxxxxx>

--
All Rights Reversed.