Messages in this thread | | | Date | Mon, 19 Jun 2023 16:41:28 +0200 | From | Jiri Pirko <> | Subject | Re: [PATCH net-next] mctp: Reorder fields in 'struct mctp_route' |
| |
Sun, Jun 18, 2023 at 11:33:55AM CEST, christophe.jaillet@wanadoo.fr wrote: >Group some variables based on their sizes to reduce hole and avoid padding. >On x86_64, this shrinks the size of 'struct mctp_route' >from 72 to 64 bytes. > >It saves a few bytes of memory and is more cache-line friendly. > >Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
| |