summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNikolay Aleksandrov <razor@blackwall.org>2026-09-18 18:29:47 +0300
committerJakub Kicinski <kuba@kernel.org>2026-09-21 17:41:32 -0700
commit9c30ccaa7327f865128bc7977705003c0bf2f643 (patch)
tree7d40b06a12512274ad83499ee95a56ef524548db /include/linux/debugobjects.h
parentd5219589e4cfb9954d97b1e9b928e5a72dbb82ea (diff)
net: bridge: vlan: use an RCU array for large flood sets
Walking the master VLAN's port-VLAN list avoids considering ports outside the VLAN but its pointer chasing becomes more expensive than array when many ports participate. Add an rcu array of port-VLAN pointers for larger flood sets. Rebuild and publish the array under RTNL when VLAN membership changes. Continue using the list for small flood sets and as a fallback if the array allocation fails. Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Link: https://patch.msgid.link/20260918152950.1938259-7-razor@blackwall.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions