Commit ef13a77
net: prefech skb->priority in __dev_xmit_skb()
mainline inclusion
from mainline-v6.19-rc1
category: performance
Most qdiscs need to read skb->priority at enqueue time().
In commit 100dfa7 ("net: dev_queue_xmit() llist adoption")
I added a prefetch(next), lets add another one for the second
half of skb.
Note that skb->priority and skb->hash share a common cache line,
so this patch helps qdiscs needing both fields.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251121083256.674562-11-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit b2e9821)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 222fb71 commit ef13a77
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4260 | 4260 | | |
4261 | 4261 | | |
4262 | 4262 | | |
| 4263 | + | |
4263 | 4264 | | |
4264 | 4265 | | |
4265 | 4266 | | |
| |||
0 commit comments