aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2025-11-21 08:32:51 +0000
committerPaolo Abeni <pabeni@redhat.com>2025-11-25 16:10:32 +0100
commit2f9babc04d74cbf984f0cb5b6e20bd78fdf32997 (patch)
treee1a94051f8deef64670cf7d5c5b8f072a6d01db4 /net/core/dev.c
parentnet_sched: sch_fq: move qdisc_bstats_update() to fq_dequeue_skb() (diff)
downloadwireguard-linux-2f9babc04d74cbf984f0cb5b6e20bd78fdf32997.tar.xz
wireguard-linux-2f9babc04d74cbf984f0cb5b6e20bd78fdf32997.zip
net_sched: sch_fq: prefetch one skb ahead in dequeue()
prefetch the skb that we are likely to dequeue at the next dequeue(). Also call fq_dequeue_skb() a bit sooner in fq_dequeue(). This reduces the window between read of q.qlen and changes of fields in the cache line that could be dirtied by another cpu trying to queue a packet. Signed-off-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20251121083256.674562-10-edumazet@google.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions