From: Andrew Morton <akpm@linux-foundation.org>
To: mengensun88@gmail.com
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org,
alexjlzheng@tencent.com, MengEn Sun <mengensun@tencent.com>
Subject: Re: [PATCH v2] vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
Date: Fri, 1 Nov 2024 13:18:23 -0700 [thread overview]
Message-ID: <20241101131823.03e5e3e643f3dd8077f9924e@linux-foundation.org> (raw)
In-Reply-To: <1730433998-10461-1-git-send-email-mengensun@tencent.com>
On Fri, 1 Nov 2024 12:06:38 +0800 mengensun88@gmail.com wrote:
> Since 5.14-rc1, NUMA events will only be folded from per-CPU
> statistics to per zone and global statistics when the user
> actually needs it.
>
> Currently, the kernel has performs the fold operation when reading
> /proc/vmstat, but does not perform the fold operation in
> /proc/zoneinfo. This can lead to inaccuracies in the following
> statistics in zoneinfo:
> - numa_hit
> - numa_miss
> - numa_foreign
> - numa_interleave
> - numa_local
> - numa_other
Maybe we should backport this. Please tell us more about these
inaccuracies. How large are they and what is the impact upon our
users?
prev parent reply other threads:[~2024-11-01 20:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-01 4:06 mengensun88
2024-11-01 20:18 ` Andrew Morton [this message]
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=20241101131823.03e5e3e643f3dd8077f9924e@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=alexjlzheng@tencent.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mengensun88@gmail.com \
--cc=mengensun@tencent.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
all inboxes | Powered by JetHome®