[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160807174402.GY5871@two.firstfloor.org>
Date: Sun, 7 Aug 2016 10:44:03 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Joe Perches <joe@...ches.com>
Cc: Andi Kleen <andi@...stfloor.org>,
Alexey Dobriyan <adobriyan@...il.com>,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
viro@...iv.linux.org.uk
Subject: Re: [PATCH] proc: faster /proc/*/status
> > > It is so bloated that gcc needs to be asked to not screw up with stack
> > > size.
> > What happens when you drop all the noinlines for this? I assume
> > this would alread make it faster. And now that we have bigger
> > stacks we can likely tolerate it.
>
> %pV recurses through these code paths.
> I believe the maximum current recursion depth is 3.
I assume 2 max would sufficient for all users in kernel.
And perhaps it would be better to get rid of "features" like this,
and instead focus on more common cases.
-Andi
--
ak@...ux.intel.com -- Speaking for myself only.
Powered by blists - more mailing lists