Re: [PATCH net-next] net: align pcpu_sw_netstats and pcpu_lstats structs

2018-11-17 Thread David Miller
From: Eric Dumazet Date: Fri, 16 Nov 2018 07:24:24 -0800 > Do not risk spanning these small structures on two cache lines, > it is absolutely not worth it. > > For 32bit arches, the hint might not be enough, but we do not > really care anymore. > > Signed-off-by: Eric Dumazet Applied.

[PATCH net-next] net: align pcpu_sw_netstats and pcpu_lstats structs

2018-11-16 Thread Eric Dumazet
Do not risk spanning these small structures on two cache lines, it is absolutely not worth it. For 32bit arches, the hint might not be enough, but we do not really care anymore. Signed-off-by: Eric Dumazet --- include/linux/netdevice.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)