Re: [patch] uninline init_waitqueue_*() functions

Andrew Morton
2006-07-06T09:03:16Z

On Thu, 6 Jul 2006 10:23:41 +0200
Ingo Molnar <mingo@elte.hu> wrote:

> uninline more wait.h inline functions.
>
> allyesconfig vmlinux size delta:
>
> text data bss dec filename
> 20736884 6073834 3075176 29885894 vmlinux.before
> 20721009 6073966 3075176 29870151 vmlinux.after

On my x86_64 typicalconfig
(http://www.zip.com.au/~akpm/linux/patches/stuff/config-x)

everything inlined:

text data bss dec hex filename
4079169 702440 280184 5061793 4d3ca1 vmlinux

uninline init_waitqueue_head:

4076921 702456 280184 5059561 4d33e9 vmlinux

uninline init_waitqueue_head+init_waitqueue_entry

box:/usr/src/25> size vmlinux
text data bss dec hex filename
4077017 702472 280184 5059673 4d3459 vmlinux

uninline init_waitqueue_head+init_waitqueue_entry+init_waitqueue_func_entry

box:/usr/src/25> size vmlinux
text data bss dec hex filename
4077128 702496 280184 5059808 4d34e0 vmlinux

So we only want to uninline init_waitqueue_head().