On Mon, Oct 26, 2020 at 10:26:35PM +0800, zhongjiang-ali wrote: > memcg_page_state will get the specified number in hierarchical memcg, > It should multiply by HPAGE_PMD_NR rather than an page if the item is > NR_ANON_THPS. > > Fixes: 468c398233da ("mm: memcontrol: switch to native NR_ANON_THPS counter") > Signed-off-by: zhongjiang-ali <zhongjiang-ali@xxxxxxxxxxxxxxxxx> Acked-by: Johannes Weiner <hannes@xxxxxxxxxxx>