Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1730902
| From | Bart Van Assche <Bart.VanAssche@wdc.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size |
| Date | 2017-09-12 17:20 +0200 |
| Message-ID | <uoV8L-2X1-17@gated-at.bofh.it> (permalink) |
| References | <uoRHP-Fn-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2017-09-12 at 12:32 +0100, Colin King 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 over 740 bytes. > > Before: > text data bss dec hex filename > 3840 208 0 4048 fd0 drivers/scsi/ufs/tc-dwc-g210.o > > After: > text data bss dec hex filename > 2679 624 0 3303 ce7 drivers/scsi/ufs/tc-dwc-g210.o > > Signed-off-by: Colin Ian King <colin.king@canonical.com> Please CC the most active contributors of a driver when submitting a driver patch. Anyway: Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size Colin King <colin.king@canonical.com> - 2017-09-12 13:40 +0200 Re: [PATCH] scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size Bart Van Assche <Bart.VanAssche@wdc.com> - 2017-09-12 17:20 +0200 Re: [PATCH] scsi: ufs: tc-dwc-g210: make arrays static, reduces object code size "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-09-15 21:50 +0200
csiph-web