net: move skbuff_cache(s) to net_hotdata
authorEric Dumazet <edumazet@google.com>
Wed, 6 Mar 2024 16:00:23 +0000 (16:00 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 8 Mar 2024 05:12:42 +0000 (21:12 -0800)
commitaa70d2d16f280efe8aa52afc25a33b2ec8d346b6
tree530fada42a45cff45804c4c16bde489af5f5a706
parent71c0de9bac9c1dda503322c86be4924f055dc6c9
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>
include/linux/skbuff.h
include/net/hotdata.h
kernel/bpf/cpumap.c
net/bpf/test_run.c
net/core/skbuff.c
net/core/xdp.c