diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-10-07 14:52:39 +0300 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-10-08 21:45:23 +0300 |
commit | 155283c3ac5e272f0178efba08ac62366ffdb86b (patch) | |
tree | b548bcfff0cc786229b695c240402c961a272498 /usr | |
parent | 940f138215281b8bec14b60ffea53154a89645ec (diff) | |
download | linux-155283c3ac5e272f0178efba08ac62366ffdb86b.tar.xz |
nfp: bpf: make array exp_mask static, makes object smaller
Don't populate the array exp_mask on the stack but instead make it
static. Makes the object code smaller by 224 bytes.
Before:
text data bss dec hex filename
77832 2290 0 80122 138fa ethernet/netronome/nfp/bpf/jit.o
After:
text data bss dec hex filename
77544 2354 0 79898 1381a ethernet/netronome/nfp/bpf/jit.o
(gcc version 9.2.1, amd64)
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions