aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/smc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-05-02 19:54:19 -0700
committerDavid S. Miller <davem@davemloft.net>2020-05-03 15:50:31 -0700
commit7ba0537c2b534149be288f851900b4cf5aacde48 (patch)
tree4f8a6cce1cb4f0236b5d7dd15e17948f5abffb1d /net/smc
parentnet_sched: sch_fq: avoid touching f->next from fq_gc() (diff)
downloadwireguard-linux-7ba0537c2b534149be288f851900b4cf5aacde48.tar.xz
wireguard-linux-7ba0537c2b534149be288f851900b4cf5aacde48.zip
net_sched: sch_fq: change fq_flow size/layout
sizeof(struct fq_flow) is 112 bytes on 64bit arches. This means that half of them use two cache lines, but 50% use three cache lines. This patch adds cache line alignment, and makes sure that only the first cache line is touched by fq_enqueue(), which is more expensive that fq_dequeue() in general. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions