Thread (5 messages) 5 messages, 5 authors, 2023-06-21

Re: [PATCH net-next] netlabel: Reorder fields in 'struct netlbl_domaddr6_map'

From: Simon Horman <hidden>
Date: 2023-06-19 14:08:31
Also in: kernel-janitors, linux-security-module, lkml

On Sun, Jun 18, 2023 at 12:16:41PM +0200, 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 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 <redacted>
Reviewed-by: Simon Horman <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help