]> 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)
commit949b6b97ce87158c3338c76b071e88781dd010be
treec10f5fec5c3724ce146ada86a90064a4a9200d90
parent9ae2f5b7475283eb874bb1364e393fd82a6b49b0
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