diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-11-21 11:32:51 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-11-25 18:10:32 +0300 |
| commit | 2f9babc04d74cbf984f0cb5b6e20bd78fdf32997 (patch) | |
| tree | e1a94051f8deef64670cf7d5c5b8f072a6d01db4 /tools/lib/python | |
| parent | 3c1100f042c006cae6c241028cc4c69e1a70483f (diff) | |
| download | linux-2f9babc04d74cbf984f0cb5b6e20bd78fdf32997.tar.xz | |
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 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
