Re: [PATCH v2 4/4] mm/huge_memory: fix folio split stats counting
From: Wei Yang
Date: Sat Nov 22 2025 - 20:56:05 EST
On Fri, Nov 21, 2025 at 09:55:29PM -0500, Zi Yan wrote:
>The "return <error code>" statements for error checks at the beginning of
>__folio_split() skip necessary count_vm_event() and count_mthp_stat() at
>the end of the function. Fix these by replacing them with
>"ret = <error code>; goto out;".
>
>Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>
Sounds reasonable, Thanks.
Reviewed-by: Wei Yang <richard.weiyang@xxxxxxxxx>
--
Wei Yang
Help you, Help me