diff options
| author | Jason Xing <kernelxing@tencent.com> | 2025-11-18 15:06:46 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-19 20:29:25 -0800 |
| commit | 5d7fc63ab84182f75d5e73e299ce0e7c9c20c092 (patch) | |
| tree | 04605effebde6df055d414f699255777996ec4d0 /net/unix/af_unix.c | |
| parent | 2d67b5c5c67f934c54a55e00ee291a8587c5b4fe (diff) | |
net: prefetch the next skb in napi_skb_cache_get()
After getting the current skb in napi_skb_cache_get(), the next skb in
cache is highly likely to be used soon, so prefetch would be helpful.
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>
Link: https://patch.msgid.link/20251118070646.61344-5-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
