[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240725124710.76206c2c9baa27b8463b825d@linux-foundation.org>
Date: Thu, 25 Jul 2024 12:47:10 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Shivank Garg <shivankg@....com>
Cc: <linux-kernel@...r.kernel.org>, <linux-mm@...ck.org>, <vbabka@...e.cz>,
<hillf.zj@...baba-inc.com>, <mgorman@...hsingularity.net>,
<hannes@...xchg.org>
Subject: Re: [PATCH] mm/vmstat: Fix placement of per-node stats in
/proc/zoneinfo
On Thu, 25 Jul 2024 16:26:26 +0530 Shivank Garg <shivankg@....com> wrote:
> The per-node stats in /proc/zoneinfo output are incorrectly inserted
> between the first populated zone title and its specific stats. This
> creates confusion while reading or parsing its output.
I pity anyone who has to write a parser for that mess.
> This patch relocates the per-node stats at the beginning for each node,
> followed by the individual zone statistics. This fix results in a clearer
> and more consistent output format.
> Fixes: e2ecc8a79ed4 ("mm, vmstat: print node-based stats in zoneinfo file")
It's been this way since 2016? Surely there's a risk of breaking
existing userspace parsers?
Powered by blists - more mailing lists