Re: [PATCH] linux/fs.h - Convert debug functions declared inline__attribute__((format (printf,x,y) to statement expression macros

From: David Rientjes
Date: Wed Feb 27 2008 - 02:39:42 EST


On Tue, 26 Feb 2008, Joe Perches wrote:

> > I'm not seeing any change in text size with allyesconfig after applying
> > this patch with latest git:
>
> This is just x86 defconfig
>

allyesconfig should be able to capture any text savings that this patch
offers.

> > Joe, what version of gcc are you using?
>
> $ gcc --version
> gcc (GCC) 4.2.2 20071128 (prerelease) (4.2.2-3.1mdv2008.0)
>

My x86_64 defconfig with gcc 4.0.3 had no difference in text size after
applying your patch, yet the same config on gcc 4.1.2 did:

text data bss dec hex filename
5386112 846328 719560 6952000 6a1440 vmlinux.before
5386048 846328 719560 6951936 6a1400 vmlinux.after
--
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/