linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: David Rientjes <rientjes@google.com>
To: Pasha Tatashin <pasha.tatashin@soleen.com>
Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org,
	 linux-mm@kvack.org, linux-cxl@vger.kernel.org,
	cerasuolodomenico@gmail.com,  hannes@cmpxchg.org,
	j.granados@samsung.com, lizhijian@fujitsu.com,
	 muchun.song@linux.dev, nphamcs@gmail.com, rppt@kernel.org,
	 souravpanda@google.com, vbabka@suse.cz, willy@infradead.org,
	 dan.j.williams@intel.com, yi.zhang@redhat.com,
	alison.schofield@intel.com,  david@redhat.com,
	yosryahmed@google.com
Subject: Re: [PATCH v5 2/3] mm: add system wide stats items category
Date: Sun, 11 Aug 2024 13:24:37 -0700 (PDT)	[thread overview]
Message-ID: <d5face34-4972-228c-3c6d-ae9ebe3be1e1@google.com> (raw)
In-Reply-To: <20240809191020.1142142-3-pasha.tatashin@soleen.com>

On Fri, 9 Aug 2024, 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@google.com>
> Signed-off-by: Pasha Tatashin <pasha.tatashin@soleen.com>
> Acked-by: David Hildenbrand <david@redhat.com>

Acked-by: David Rientjes <rientjes@google.com>


  reply	other threads:[~2024-08-11 20:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09 19:10 [PATCH v5 0/3] Fixes for memmap accounting Pasha Tatashin
2024-08-09 19:10 ` [PATCH v5 1/3] mm: don't account memmap on failure Pasha Tatashin
2024-08-10  2:39   ` Muchun Song
2024-08-11 20:23   ` David Rientjes
2024-08-09 19:10 ` [PATCH v5 2/3] mm: add system wide stats items category Pasha Tatashin
2024-08-11 20:24   ` David Rientjes [this message]
2024-08-09 19:10 ` [PATCH v5 3/3] mm: don't account memmap per-node Pasha Tatashin
2024-08-11 20:26   ` David Rientjes
2024-08-16  1:24     ` Yi Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d5face34-4972-228c-3c6d-ae9ebe3be1e1@google.com \
    --to=rientjes@google.com \
    --cc=akpm@linux-foundation.org \
    --cc=alison.schofield@intel.com \
    --cc=cerasuolodomenico@gmail.com \
    --cc=dan.j.williams@intel.com \
    --cc=david@redhat.com \
    --cc=hannes@cmpxchg.org \
    --cc=j.granados@samsung.com \
    --cc=linux-cxl@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=lizhijian@fujitsu.com \
    --cc=muchun.song@linux.dev \
    --cc=nphamcs@gmail.com \
    --cc=pasha.tatashin@soleen.com \
    --cc=rppt@kernel.org \
    --cc=souravpanda@google.com \
    --cc=vbabka@suse.cz \
    --cc=willy@infradead.org \
    --cc=yi.zhang@redhat.com \
    --cc=yosryahmed@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox