Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1738818
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: mwifiex: make const array tos_to_ac static, reduces object code size |
| Date | 2017-09-25 10:30 +0200 |
| Message-ID | <utwW5-3OI-11@gated-at.bofh.it> (permalink) |
| References | <urxWh-251-9@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 the read-only const array tos_to_ac on the stack, > instead make it static. Makes the object code smaller by 250 bytes: > > Before: > text data bss dec hex filename > 26104 2720 128 28952 7118 wmm.o > > After: > text data bss dec hex filename > 25758 2816 128 28702 701e wmm.o > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Patch applied to wireless-drivers-next.git, thanks. 7dfb0ebd022b mwifiex: make const array tos_to_ac static, reduces object code size -- https://patchwork.kernel.org/patch/9960331/ 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 array tos_to_ac static, reduces object code size Colin King <colin.king@canonical.com> - 2017-09-19 23:10 +0200 Re: mwifiex: make const array tos_to_ac static, reduces object code size Kalle Valo <kvalo@codeaurora.org> - 2017-09-25 10:30 +0200
csiph-web