[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <017b4c44-efca-4160-abd6-ed84c36fa06b@redhat.com>
Date: Fri, 9 Aug 2024 09:24:34 +0200
From: David Hildenbrand <david@...hat.com>
To: Pasha Tatashin <pasha.tatashin@...een.com>, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, linux-mm@...ck.org, linux-cxl@...r.kernel.org,
cerasuolodomenico@...il.com, hannes@...xchg.org, j.granados@...sung.com,
lizhijian@...itsu.com, muchun.song@...ux.dev, nphamcs@...il.com,
rientjes@...gle.com, rppt@...nel.org, souravpanda@...gle.com,
vbabka@...e.cz, willy@...radead.org, dan.j.williams@...el.com,
yi.zhang@...hat.com, alison.schofield@...el.com, yosryahmed@...gle.com
Subject: Re: [PATCH v4 2/3] mm: add system wide stats items category
On 08.08.24 23:34, Pasha Tatashin wrote:
> /proc/vmstat contains events and stats, events can only grow, but stats
> can grow and shrink.
>
> vmstat has the following:
> -------------------------
> NR_VM_ZONE_STAT_ITEMS: per-zone stats
> NR_VM_NUMA_EVENT_ITEMS: per-numa events
> NR_VM_NODE_STAT_ITEMS: per-numa stats
> NR_VM_WRITEBACK_STAT_ITEMS: system-wide background-writeback and
> dirty-throttling tresholds.
> NR_VM_EVENT_ITEMS: system-wide events
> -------------------------
>
> Rename NR_VM_WRITEBACK_STAT_ITEMS to NR_VM_STAT_ITEMS, to track the
> system-wide stats, we are going to add per-page metadata stats to this
> category in the next patch.
>
> Also delete unused writeback_stat_name() function.
>
> Suggested-by: Yosry Ahmed <yosryahmed@...gle.com>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@...een.com>
> ---
Acked-by: David Hildenbrand <david@...hat.com>
--
Cheers,
David / dhildenb
Powered by blists - more mailing lists