net: do not consume a cacheline for system_page_pool
There is no reason to consume a full cacheline to store system_page_pool.
We can eventually move it to softnet_data later for full locality control.
Fixes: 2b0cfa6e49
("net: add generic percpu page_pool allocator")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: Toke Høiland-Jørgensen <toke@redhat.com>
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
Link: https://lore.kernel.org/r/20240328173448.2262593-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
50ba9d7ec4
commit
5086f0fe46
@ -429,7 +429,7 @@ EXPORT_PER_CPU_SYMBOL(softnet_data);
|
||||
* PP consumers must pay attention to run APIs in the appropriate context
|
||||
* (e.g. NAPI context).
|
||||
*/
|
||||
static DEFINE_PER_CPU_ALIGNED(struct page_pool *, system_page_pool);
|
||||
static DEFINE_PER_CPU(struct page_pool *, system_page_pool);
|
||||
|
||||
#ifdef CONFIG_LOCKDEP
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user