Eric Dumazet b26ef81c46 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>
2022-02-23 12:39:58 +00:00
..
2022-01-22 08:33:37 +02:00
2022-02-07 12:06:54 +00:00
2022-01-27 13:53:27 +00:00
2021-05-26 07:03:39 +02:00
2022-02-10 15:29:39 +00:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00