Re: [PATCH] X86-32: Let gcc decide whether to inline memcpy was Re: New x86 warning

From: Andi Kleen
Date: Wed Apr 22 2009 - 18:01:14 EST


> > Quick test here:
>
> How about you just compile the kernel with gcc-3.2 and compare the number
> of calls to memcpy before-and-after instead? That's the real test.

I waited over 10 minutes for the full vmlinux objdumps to finish. sorry lost
patience. If someone has a fast disassembler we can try it. I'll leave
them running over night, maybe there are exact numbers tomorrow.

But from a quick check (find -name '*.o' | xargs nm | grep memcpy) there are
very little files which call it with the patch, so there's some
evidence that there isn't a dramatic increase.

-Andi


--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/