Re: [PATCH v2 1/2] mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg

From: Zi Yan
Date: Thu Mar 04 2021 - 11:22:28 EST


On 4 Mar 2021, at 2:40, Zhou Guanghui wrote:

> Rename mem_cgroup_split_huge_fixup to split_page_memcg and explicitly
> pass in page number argument.
>
> In this way, the interface name is more common and can be used by
> potential users. In addition, the complete info(memcg and flag) of
> the memcg needs to be set to the tail pages.
>
> Signed-off-by: Zhou Guanghui <zhouguanghui1@xxxxxxxxxx>
> ---
> include/linux/memcontrol.h | 6 ++----
> mm/huge_memory.c | 2 +-
> mm/memcontrol.c | 15 ++++++---------
> 3 files changed, 9 insertions(+), 14 deletions(-)
>
LGTM. Thanks.

Reviewed-by: Zi Yan <ziy@xxxxxxxxxx>


Best Regards,
Yan Zi

Attachment: signature.asc
Description: OpenPGP digital signature