On Sun 10-12-17 17:01:32, Byongho Lee wrote:
> calculate_alignment() function is only used inside 'slab_common.c'.
> So make it static and let compiler do more optimizations.
>
> After this patch there's small improvements in 'text' and 'data' size.
>
> $ gcc --version
> gcc (GCC) 7.2.1 2017112
calculate_alignment() function is only used inside 'slab_common.c'.
So make it static and let compiler do more optimizations.
After this patch there's small improvements in 'text' and 'data' size.
$ gcc --version
gcc (GCC) 7.2.1 20171128
Before:
text data bss dec hex
2 matches
Mail list logo