[PATCH] always inline alloc_perturb.

Ondřej Bílka neleai@seznam.cz
Fri Dec 19 15:14:00 GMT 2014


On Fri, Dec 12, 2014 at 10:53:26AM -0500, David Miller wrote:
> From: Ondřej Bílka <neleai@seznam.cz>
> Date: Fri, 12 Dec 2014 16:50:51 +0100
> 
> > And is worse performance in next ten years until that issues are fixed
> > acceptable?
> 
> In moderate amounts, it's no big deal.

You have no guarantee that its just moderate amount. From your warnings
it looks that compiler decided never inline anything. So how much does
malloc_benchtest differ after you build with ./configure --disable-werror?

On x86 simulating that with noinline gives 10% performance degradation
which as half of total time spend in libc is in malloc+variants.



More information about the Libc-alpha mailing list