On Thu, 2013-02-21 at 10:32 +0800, Li Zefan wrote: > Move duplicate code in event print functions to a helper function. > > This shrinks the size of the kernel by ~13K. > > text data bss dec hex filename > 6596137 1743966 10138672 18478775 119f6b7 vmlinux.o.old > 6583002 1743849 10138672 18465523 119c2f3 vmlinux.o.new
Nice! I just tried it out and got: text data bss dec hex filename 7747813 1673816 1503232 10924861 a6b33d vmlinux.old 7715443 1673560 1499136 10888139 a623cb vmlinux.new Of course I have a lot of debugging enabled at the moment, which probably exaggerates these numbers a bit. But still, 36K in savings is nice for even a debug kernel :-) I'll start beating on this patch for a bit, and will most likely add it to my v3.10 queue. Thanks! -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/