[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZJBphdB/7k0Hk8y2@nanopsycho>
Date: Mon, 19 Jun 2023 16:43:17 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Paul Moore <paul@...l-moore.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
netdev@...r.kernel.org, linux-security-module@...r.kernel.org
Subject: Re: [PATCH net-next] netlabel: Reorder fields in 'struct
netlbl_domaddr6_map'
Sun, Jun 18, 2023 at 12:16:41PM CEST, christophe.jaillet@...adoo.fr wrote:
>Group some variables based on their sizes to reduce hole and avoid padding.
>On x86_64, this shrinks the size of 'struct netlbl_domaddr6_map'
>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@...adoo.fr>
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists