Re: [PATCH 1/3] kref: Inline all functions

From: Peter Zijlstra
Date: Sat Dec 10 2011 - 10:00:32 EST


On Sat, 2011-12-10 at 22:32 +0800, Ming Lei wrote:
> Looks like no much text size increase in built vmlinux for ARM.
>
> [tom@xxxxxxxxxxxxxx]$size vmlinux
> text data bss dec hex filename
> 6030247 2083292 7912356 16025895 f48927 vmlinux
>
> [tom@xxxxxxxxxxxxxx]$size vmlinux-before-kref-inline
> text data bss dec hex filename
> 6023264 2083300 7912356 16018920 f46de8 vmlinux-before-kref-inline

Yeah, and I guess you can reduce it even further if you put the
WARN_ON() in some CONFIG_DEBUG_BLAH section, like the refcount stuff
from Alexey was doing.
--
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/