diff options
author | Eric Dumazet <edumazet@google.com> | 2012-04-19 09:16:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-21 22:28:38 +0200 |
commit | bbe362be5368b9f531b95a4a9b502ae2832e1dac (patch) | |
tree | 6f31a927c4224e5366d97c621362020ccf7dd689 /virt | |
parent | ks8851: Fix request_irq/free_irq mismatch (diff) | |
download | linux-bbe362be5368b9f531b95a4a9b502ae2832e1dac.tar.xz linux-bbe362be5368b9f531b95a4a9b502ae2832e1dac.zip |
drop_monitor: allow more events per second
It seems there is a logic error in trace_drop_common(), since we store
only 64 drops, even if they are from same location.
This fix is a one liner, but we probably need more work to avoid useless
atomic dec/inc
Now I can watch 1 Mpps drops through dropwatch...
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions