Thread (2 messages) 2 messages, 2 authors, 2015-08-27

Re: [PATCH net-next] bridge: fdb: rearrange net_bridge_fdb_entry

From: David Miller <davem@davemloft.net>
Date: 2015-08-27 23:39:10
Also in: bridge

From: Nikolay Aleksandrov <razor@blackwall.org>
Date: Thu, 27 Aug 2015 14:19:20 -0700
From: Nikolay Aleksandrov <redacted>

While looking into fixing the local entries scalability issue I noticed
that the structure is badly arranged because vlan_id would fall in a
second cache line while keeping rcu which is used only when deleting
in the first, so re-arrange the structure and push rcu to the end so we
can get 16 bytes which can be used for other fields (by pushing rcu
fully in the second 64 byte chunk). With this change all the core
necessary information when doing fdb lookups will be available in a
single cache line.
 ...
Signed-off-by: Nikolay Aleksandrov <redacted>
This looks fine, applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help