diff options
author | Eric Dumazet <edumazet@google.com> | 2022-02-22 14:04:50 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 12:39:58 +0000 |
commit | b26ef81c46ed15d11ddddba9ba1cd52c749385ad (patch) | |
tree | c83074fe901a74cab6bb8bd438da0b325763cdd0 /net/bridge/br_netlink.c | |
parent | Merge branch 'mlxsw-next' (diff) | |
download | linux-dev-b26ef81c46ed15d11ddddba9ba1cd52c749385ad.tar.xz linux-dev-b26ef81c46ed15d11ddddba9ba1cd52c749385ad.zip |
drop_monitor: remove quadratic behavior
drop_monitor is using an unique list on which all netdevices in
the host have an element, regardless of their netns.
This scales poorly, not only at device unregister time (what I
caught during my netns dismantle stress tests), but also at packet
processing time whenever trace_napi_poll_hit() is called.
If the intent was to avoid adding one pointer in 'struct net_device'
then surely we prefer O(1) behavior.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions