Messages in this thread | | | Subject | Re: [PATCH] x86: bpf_jit_comp: Reduce is_ereg() code size | From | Eric Dumazet <> | Date | Thu, 04 Dec 2014 16:46:22 -0800 |
| |
On Thu, 2014-12-04 at 15:31 -0800, Alexei Starovoitov wrote:
> well, it is a trivial function even from compiler point of view. > Dropping inline keyword doesn't help. gcc still inlines them. > Changing all 3 functions to _noinline_ doesn't help either. > So I think this patch is actually quite helpful to reduce code size.
Well, again this might depend on CONFIG_CC_OPTIMIZE_FOR_SIZE
I guess people trying to get very small kernels are using this option.
My point was : If we care about code size, we should also remove these inline keywords at the same time, to increase SNR of netdev/lkml lists.
| |