Re: [PATCH] dmaengine: ti: k3-psil: optimize struct psil_endpoint_config for size

From
Vinod Koul <vkoul@kernel.org>
Date
2021-02-01 06:04:09
Also in
lkml
Reply to
Grygorii Strashko, 2021-01-29
On 29-01-21, 21:31, Grygorii Strashko wrote:
Optimize struct psil_endpoint_config for size by
- reordering fields
- grouping bitfields
- change mapped_channel_id type to s16 (32K channel is enough)
- default_flow_id type to s16 as it's assigned to -1

before:
text            data     bss    dec	        hex	filename
12654100	5211472	 666904	18532476	11ac87c	vmlinux

after:
12654100	5208528	 666904	18529532	11abcfc	vmlinux

diff: 2944 bytes
Applied, thanks

-- 
~Vinod
Thread (2 messages) 2 messages, 2 authors, last reply 2021-02-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help