Messages in this thread | | | From | Shakeel Butt <> | Date | Wed, 23 Dec 2020 13:01:07 -0800 | Subject | Re: [PATCH v5 1/7] mm: memcontrol: fix NR_ANON_THPS accounting in charge moving |
| |
On Wed, Dec 16, 2020 at 7:45 PM Muchun Song <songmuchun@bytedance.com> 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 <songmuchun@bytedance.com> > Acked-by: Michal Hocko <mhocko@suse.com> > Acked-by: Johannes Weiner <hannes@cmpxchg.org> > Acked-by: Pankaj Gupta <pankaj.gupta@cloud.ionos.com> > Reviewed-by: Roman Gushchin <guro@fb.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
| |