lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 12 Jul 2017 08:49:12 +0200 From: Stanislaw Gruszka <sgruszka@...hat.com> To: Colin King <colin.king@...onical.com> Cc: Helmut Schaa <helmut.schaa@...glemail.com>, Kalle Valo <kvalo@...eaurora.org>, linux-wireless@...r.kernel.org, kernel-janitors@...r.kernel.org, netdev@...r.kernel.org Subject: Re: [PATCH] rt2x00: make const array glrt_table static On Tue, Jul 11, 2017 at 12:47:33PM +0100, Colin King wrote: > From: Colin Ian King <colin.king@...onical.com> > > Don't populate array glrt_table on the stack but make it static. > Makes the object code a smaller by over 670 bytes: > > Before: > text data bss dec hex filename > 131772 4733 0 136505 21539 rt2800lib.o > > After: > text data bss dec hex filename > 131043 4789 0 135832 21298 rt2800lib.o > > Signed-off-by: Colin Ian King <colin.king@...onical.com> Acked-by: Stanislaw Gruszka <sgruszka@...hat.com> I wonder why compiler do not optimize by itself since array is const, but patch is ok. Stanislaw
Powered by blists - more mailing lists