[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <7472fb6b-5884-586c-0965-b3bef83109f3@tessares.net>
Date: Mon, 19 Jun 2023 13:14:55 +0200
From: Matthieu Baerts <matthieu.baerts@...sares.net>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Mat Martineau <martineau@...nel.org>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
netdev@...r.kernel.org, mptcp@...ts.linux.dev
Subject: Re: [PATCH net-next] mptcp: Reorder fields in 'struct
mptcp_pm_add_entry'
Hi Christophe,
On 18/06/2023 11:46, Christophe JAILLET wrote:
> Group some variables based on their sizes to reduce hole and avoid padding.
> On x86_64, this shrinks the size of 'struct mptcp_pm_add_entry'
> from 136 to 128 bytes.
>
> It saves a few bytes of memory and is more cache-line friendly.
Good catch and thank you for having shared this patch, it looks good to me!
Reviewed-by: Matthieu Baerts <matthieu.baerts@...sares.net>
Cheers,
Matt
--
Tessares | Belgium | Hybrid Access Solutions
www.tessares.net
Powered by blists - more mailing lists