Messages in this thread | | | From | Zi Yan <> | Subject | Re: [PATCH -V11 5/9] mm/vmscan: add page demotion counter | Date | Wed, 21 Jul 2021 17:13:56 -0400 |
| |
On 21 Jul 2021, at 2:39, Huang Ying wrote:
> From: Yang Shi <yang.shi@linux.alibaba.com> > > Account the number of demoted pages. > > Add pgdemote_kswapd and pgdemote_direct VM counters showed in > /proc/vmstat. > > [ daveh: > - __count_vm_events() a bit, and made them look at the THP > size directly rather than getting data from migrate_pages() > ] > > Link: https://lkml.kernel.org/r/20210715055145.195411-6-ying.huang@intel.com > Signed-off-by: Yang Shi <yang.shi@linux.alibaba.com> > Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> > Signed-off-by: "Huang, Ying" <ying.huang@intel.com> > Reviewed-by: Yang Shi <shy828301@gmail.com> > Reviewed-by: Wei Xu <weixugc@google.com> > Cc: Michal Hocko <mhocko@suse.com> > Cc: Zi Yan <ziy@nvidia.com> > Cc: David Rientjes <rientjes@google.com> > Cc: Dan Williams <dan.j.williams@intel.com> > Cc: David Hildenbrand <david@redhat.com> > Cc: Oscar Salvador <osalvador@suse.de> > Cc: Greg Thelen <gthelen@google.com> > Cc: Keith Busch <kbusch@kernel.org> > Signed-off-by: Andrew Morton <akpm@linux-foundation.org> > --- > include/linux/vm_event_item.h | 2 ++ > mm/vmscan.c | 5 +++++ > mm/vmstat.c | 2 ++ > 3 files changed, 9 insertions(+) >
LGTM. Reviewed-by: Zi Yan <ziy@nvidia.com>
— Best Regards, Yan, Zi [unhandled content-type:application/pgp-signature] | |