inline _int_free into free

Tom de Vries Tom_deVries@mentor.com
Sun Jan 29 18:41:00 GMT 2012


Hi,

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 patch improves performance for the sip parser benchmark with 2 to 3.5% for
n32 and o32 on for the xlp processor, while increasing code size of malloc.o
with 1512 bytes.

I tested the patch on MIPS qemu (mips-linux-gnu) with host i686-pc-linux-gnu.
On that target, code size of malloc.o increased with 1976 bytes.

Thanks,
- Tom

-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-int_free-inline.patch
Type: text/x-patch
Size: 2107 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120129/c63b1907/attachment.bin>


More information about the Libc-alpha mailing list