Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1735752
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mwifiex: make const arrays static to shink object code size |
| Date | 2017-09-20 14:50 +0200 |
| Message-ID | <urMBX-354-5@gated-at.bofh.it> (permalink) |
| References | <uqnmh-3sJ-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Colin Ian King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > Don't populate const arrays on the stack, instead make them static > Makes the object code smaller by nearly 300 bytes: > > Before: > text data bss dec hex filename > 69260 16149 576 85985 14fe1 cfg80211.o > > After: > text data bss dec hex filename > 68385 16725 576 85686 14eb6 cfg80211.o > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Patch applied to wireless-drivers-next.git, thanks. d157bcfaf854 mwifiex: make const arrays static to shink object code size -- https://patchwork.kernel.org/patch/9954375/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] mwifiex: make const arrays static to shink object code size Colin King <colin.king@canonical.com> - 2017-09-16 17:40 +0200 Re: mwifiex: make const arrays static to shink object code size Kalle Valo <kvalo@codeaurora.org> - 2017-09-20 14:50 +0200
csiph-web