summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2026-07-10 04:38:59 -0700
committerPaolo Abeni <pabeni@redhat.com>2026-07-17 12:09:16 +0200
commitba520084dc3b7f8b0bca534bd272266b764427f2 (patch)
tree3688580c05fd1f72ba47f0a6480e1f6bc91c1d56 /include/linux
parent67fb2038e1f65309a91f61169e75ee973f936f1c (diff)
downloadlinux-next-ba520084dc3b7f8b0bca534bd272266b764427f2.tar.gz
linux-next-ba520084dc3b7f8b0bca534bd272266b764427f2.zip
netconsole: move skb_pool / refill_wq from struct netpoll to netconsole_target
These two fields back the fallback skb pool that find_skb() uses. Every helper that touches them lives in netconsole now (refill_skbs, refill_skbs_work_handler, netconsole_skb_pool_init, netconsole_skb_pool_flush, find_skb, netcons_skb_pop), so the data can move alongside its only consumer. Add skb_pool and refill_wq to struct netconsole_target, drop them from struct netpoll. This will save 48-bytes for every netpoll user instance (except netconsole that will have it in netconsole target struct). Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://patch.msgid.link/20260710-netconsole_move_more-v3-7-6f63f76b28bc@debian.org Reviewed-by: Simon Horman <horms@kernel.org> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/netpoll.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netpoll.h b/include/linux/netpoll.h
index 1216b5c237ce..f377fdf7839c 100644
--- a/include/linux/netpoll.h
+++ b/include/linux/netpoll.h
@@ -37,8 +37,6 @@ struct netpoll {
bool ipv6;
u16 local_port, remote_port;
u8 remote_mac[ETH_ALEN];
- struct sk_buff_head skb_pool;
- struct work_struct refill_wq;
};
#define np_info(np, fmt, ...) \