Colin,
> Don't populate const arrays on the stack, instead make them static.
> Makes the object code smaller by over 740 bytes.
Applied to 4.15/scsi-queue.
--
Martin K. Petersen Oracle Linux Engineering
On Tue, 2017-09-12 at 12:32 +0100, Colin King wrote:
> From: Colin Ian King
>
> 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
From: Colin Ian King
Don't populate const arrays on the stack, instead make them
static. Makes the object code smaller by over 740 bytes.
Before:
textdata bss dec hex filename
3840 208 04048 fd0 drivers/scsi/ufs/tc-dwc-g210.o
After:
textdata b
3 matches
Mail list logo