summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2020-05-03 05:54:19 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-04 01:50:31 +0300
commit7ba0537c2b534149be288f851900b4cf5aacde48 (patch)
tree4f8a6cce1cb4f0236b5d7dd15e17948f5abffb1d /security
parentdde0a648fc00e2156a3358600c5fbfb3f53256ac (diff)
downloadlinux-7ba0537c2b534149be288f851900b4cf5aacde48.tar.xz
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 'security')
0 files changed, 0 insertions, 0 deletions