Thread (21 messages) 21 messages, 6 authors, 2023-12-04

Re: [PATCH v8 net-next 3/5] netns-ipv4: reorganize netns_ipv4 fast path variables

From: Shakeel Butt <hidden>
Date: 2023-12-02 20:23:08

On Wed, Nov 29, 2023 at 07:27:54AM +0000, Coco Li wrote:
Reorganize fast path variables on tx-txrx-rx order.
Fastpath cacheline ends after sysctl_tcp_rmem.
There are only read-only variables here. (write is on the control path
and not considered in this case)

Below data generated with pahole on x86 architecture.
Fast path variables span cache lines before change: 4
Fast path variables span cache lines after change: 2

Suggested-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Wei Wang <redacted>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: Coco Li <redacted>
Reviewed-by: Shakeel Butt <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help