diff options
author | Eric Dumazet <edumazet@google.com> | 2022-02-23 01:04:50 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-23 15:39:58 +0300 |
commit | b26ef81c46ed15d11ddddba9ba1cd52c749385ad (patch) | |
tree | c83074fe901a74cab6bb8bd438da0b325763cdd0 /net/bridge | |
parent | 503310a5d4b265ed45158527f0f38309ced94df3 (diff) | |
download | linux-b26ef81c46ed15d11ddddba9ba1cd52c749385ad.tar.xz |
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 'net/bridge')
0 files changed, 0 insertions, 0 deletions