inline _int_free into free

Ulrich Drepper drepper@gmail.com
Fri Feb 3 21:32:00 GMT 2012


On Sun, Jan 29, 2012 at 13:10, Tom de Vries <Tom_deVries@mentor.com> wrote:
> The purpose of this patch is to inline the call to _int_free in public_fREe, but
> not (necessarily) the other calls to _int_free.

This makes no sense.  The only improvement inlining can provide is to
eliminate the have_lock test.  That's at most one test.  Every other
benefit must have reasons completely unrelated to the inlining.  Just
improve the compiler, if this makes a difference.  gcc can clone
functions.



More information about the Libc-alpha mailing list