]> git.baikalelectronics.ru Git - kernel.git/commit
net: align gnet_stats_basic_cpu struct
authorEric Dumazet <edumazet@google.com>
Fri, 16 Nov 2018 15:43:29 +0000 (07:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 18 Nov 2018 05:37:29 +0000 (21:37 -0800)
commit1a453e511750be37a442ce2fe1ef227d783e039a
treec10f5fec5c3724ce146ada86a90064a4a9200d90
parent564e61da00e03ed217d0a555f724826a41efb9e6
net: align gnet_stats_basic_cpu struct

This structure is small (12 or 16 bytes depending on 64bit
or 32bit kernels), but we do not want it spanning two cache lines.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/gen_stats.h