Re: [PATCH] force inlining of unaligned byteswap operations

2016-02-04 Thread Ingo Molnar
* Denys Vlasenko wrote: > Code size decrease after the patch is ~8.5k: > > text data bss dec hex filename > 92197848 20826112 36417536 149441496 8e84bd8 vmlinux > 92189231 20826144 36417536 149432911 8e82a4f vmlinux6_unaligned_be_after Acked-by: Ingo Molnar Thanks,

[PATCH] force inlining of unaligned byteswap operations

2016-02-04 Thread Denys Vlasenko
Sometimes gcc mysteriously doesn't inline very small functions we expect to be inlined. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66122 With this .config: http://busybox.net/~vda/kernel_config_OPTIMIZE_INLINING_and_Os, the following functions get deinlined many times. Examples of disass