The attached patch is trying to address the most obvious abuses or inadequacies in the usage of the inline attribute to functions. Many of the remaining usages should be removed as well since apparently GCC got really good at figuring out on its own whatever it makes sense to inline a function or not. Since the patch isn't very big I didn't bother to split it up in to a series of "micropatches". However if you "insist" I could provide this. And well here are the "before/after" diet images: wto cze 11 10:56:03 CEST 2002 Size before: [root@kozaczek linux]# size vmlinux text data bss dec hex filename 1482859 249992 255852 1988703 1e585f vmlinux text data bss dec hex filename 1476379 249992 255852 1982223 1e3f0f vmlinux No question it's worth it. The above numbers should be higher with older GCC version, which where not that eager to inline functions on they own.