diff options
| author | 2025-11-21 08:32:51 +0000 | |
|---|---|---|
| committer | 2025-11-25 16:10:32 +0100 | |
| commit | 2f9babc04d74cbf984f0cb5b6e20bd78fdf32997 (patch) | |
| tree | e1a94051f8deef64670cf7d5c5b8f072a6d01db4 /net/core/dev.c | |
| parent | net_sched: sch_fq: move qdisc_bstats_update() to fq_dequeue_skb() (diff) | |
| download | wireguard-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
