Re: [PATCH v5 1/7] mm: memcontrol: fix NR_ANON_THPS accounting in charge moving
From: Shakeel Butt <hidden>
Date: 2020-12-23 21:02:19
Also in:
linux-fsdevel, linux-mm, lkml
From: Shakeel Butt <hidden>
Date: 2020-12-23 21:02:19
Also in:
linux-fsdevel, linux-mm, lkml
On Wed, Dec 16, 2020 at 7:45 PM Muchun Song [off-list ref] wrote:
The unit of NR_ANON_THPS is HPAGE_PMD_NR already. So it should inc/dec
by one rather than nr_pages.
Fixes: 468c398233da ("mm: memcontrol: switch to native NR_ANON_THPS counter")
Signed-off-by: Muchun Song <redacted>
Acked-by: Michal Hocko <mhocko@suse.com>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Pankaj Gupta <redacted>
Reviewed-by: Roman Gushchin <redacted>Reviewed-by: Shakeel Butt <redacted>