commit | 93be42f9173bbc133bd72915b658394308437d00 | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Thu Sep 13 19:29:12 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 16 15:30:22 2018 -0700 |
tree | 0b4577ae42b508b99ed8da35f8df393499fefdc8 | |
parent | c3ec8bcceb07ab81e4ff017b4ebbacc137a5a15e [diff] |
net/sched: act_police: use per-cpu counters use per-CPU counters, instead of sharing a single set of stats with all cores. This removes the need of using spinlock when statistics are read or updated. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>