[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191025142528.366148a0ffadf80946d62bbb@linux-foundation.org>
Date: Fri, 25 Oct 2019 14:25:28 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Qian Cai <cai@....pw>
Cc: Michal Hocko <mhocko@...nel.org>, Mel Gorman <mgorman@...e.de>,
Waiman Long <longman@...hat.com>,
Johannes Weiner <hannes@...xchg.org>,
Roman Gushchin <guro@...com>, Vlastimil Babka <vbabka@...e.cz>,
Konstantin Khlebnikov <khlebnikov@...dex-team.ru>,
Jann Horn <jannh@...gle.com>, Song Liu <songliubraving@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rafael Aquini <aquini@...hat.com>, linux-mm@...ck.org,
LKML <linux-kernel@...r.kernel.org>,
Michal Hocko <mhocko@...e.com>
Subject: Re: [PATCH 2/2] mm, vmstat: reduce zone->lock holding time by
/proc/pagetypeinfo
On Fri, 25 Oct 2019 07:18:37 -0400 Qian Cai <cai@....pw> wrote:
>
>
> > On Oct 25, 2019, at 3:26 AM, Michal Hocko <mhocko@...nel.org> wrote:
> >
> > Considering the pagetypeinfo is a debugging tool we do not really need
> > exact numbers here. The primary reason to look at the outuput is to see
> > how pageblocks are spread among different migratetypes and low number of
> > pages is much more interesting therefore putting a bound on the number
> > of pages on the free_list sounds like a reasonable tradeoff.
> >
> > The new output will simply tell
> > [...]
> > Node 6, zone Normal, type Movable >100000 >100000 >100000 >100000 41019 31560 23996 10054 3229 983 648
>
> It was mentioned that developers could use this file is to see the movement of those numbers for debugging, so this supposed to introduce regressions as there is no movement anymore for those 100k+ items?
There are risks, but we have to do something!
I'd be inclined to remove the ">" though - that'll unnecessarily break
code which parses this data.
otoh, maybe that's a feature: breaking those parsers will alert people
to go in and find out what changed.
Powered by blists - more mailing lists