Re: [v3 PATCH 1/3] memcg/hugetlb: Introduce memcg_accounts_hugetlb
From: Nhat Pham
Date: Fri Dec 13 2024 - 20:29:24 EST
On Wed, Dec 11, 2024 at 12:40 PM Joshua Hahn <joshua.hahnjy@xxxxxxxxx> wrote:
>
> This patch isolates the check for whether memcg accounts hugetlb.
> This condition can only be true if the memcg mount option
> memory_hugetlb_accounting is on, which includes hugetlb usage
> in memory.current.
>
> Signed-off-by: Joshua Hahn <joshua.hahnjy@xxxxxxxxx>
>
LGTM FWIW :)
Reviewed-by: Nhat Pham <nphamcs@xxxxxxxxx>