[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1571845904.5937.89.camel@lca.pw>
Date: Wed, 23 Oct 2019 11:51:44 -0400
From: Qian Cai <cai@....pw>
To: Rafael Aquini <aquini@...hat.com>
Cc: Waiman Long <longman@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Michal Hocko <mhocko@...nel.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>
Subject: Re: [PATCH] mm/vmstat: Reduce zone lock hold time when reading
/proc/pagetypeinfo
On Wed, 2019-10-23 at 11:03 -0400, Rafael Aquini wrote:
> > > > this still isn't a bulletproof fix. Maybe just terminate the list
> > > > walk if freecount reaches 1024. Would anyone really care?
> > > >
> > > > Sigh. I wonder if anyone really uses this thing for anything
> > > > important. Can we just remove it all?
> > > >
> > >
> > > Removing it will be a breakage of kernel API.
> >
> > Who cares about breaking this part of the API that essentially nobody will use
> > this file?
> >
>
> Seems that _some_ are using it, aren't they? Otherwise we wouldn't be
> seeing complaints. Moving it out of /proc to /sys/kernel/debug looks
> like a reasonable compromise with those that care about the interface.
No, there are some known testing tools will blindly read this file just because
it exists which is not important to keep the file.
Powered by blists - more mailing lists