Re: [PATCH] vmstat: call fold_vm_zone_numa_events() before show per zone NUMA event
From: Andrew Morton
Date: Wed Oct 30 2024 - 19:35:34 EST
On Wed, 30 Oct 2024 16:37:37 +0800 mengensun88@xxxxxxxxx wrote:
> From: MengEn Sun <mengensun@xxxxxxxxxxx>
>
> NUMA events will only be folded from per-CPU statistics to per
> zone and global statistics when the user actually needs it.
>
> So, we perform this folding when reading the /proc/zoneinfo
When proposing a fix, please always fully describe the
userspace-visible effects of that fix.
> Fixes: f19298b9516c ("mm/vmstat: convert NUMA statistics to basic NUMA counters")
Since v5.14.
The information which I requested will help others decide whether
earlier kernel versions should apply this fix.