net: move skbuff_cache(s) to net_hotdata
skbuff_cache, skbuff_fclone_cache and skb_small_head_cache are used in rx/tx fast paths. Move them to net_hotdata for better cache locality. Signed-off-by:Eric Dumazet <edumazet@google.com> Acked-by:
Soheil Hassas Yeganeh <soheil@google.com> Reviewed-by:
David Ahern <dsahern@kernel.org> Link: https://lore.kernel.org/r/20240306160031.874438-11-edumazet@google.com Signed-off-by:
Jakub Kicinski <kuba@kernel.org>
Showing
- include/linux/skbuff.h 0 additions, 1 deletioninclude/linux/skbuff.h
- include/net/hotdata.h 3 additions, 0 deletionsinclude/net/hotdata.h
- kernel/bpf/cpumap.c 3 additions, 1 deletionkernel/bpf/cpumap.c
- net/bpf/test_run.c 3 additions, 1 deletionnet/bpf/test_run.c
- net/core/skbuff.c 20 additions, 24 deletionsnet/core/skbuff.c
- net/core/xdp.c 3 additions, 2 deletionsnet/core/xdp.c
Please register or sign in to comment