]> Git Repo - linux.git/commit - net/sched/act_police.c
net/sched: act_police: use per-cpu counters
authorDavide Caratti <[email protected]>
Thu, 13 Sep 2018 17:29:12 +0000 (19:29 +0200)
committerDavid S. Miller <[email protected]>
Sun, 16 Sep 2018 22:30:22 +0000 (15:30 -0700)
commit93be42f9173bbc133bd72915b658394308437d00
tree0b4577ae42b508b99ed8da35f8df393499fefdc8
parentc3ec8bcceb07ab81e4ff017b4ebbacc137a5a15e
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/act_police.c
This page took 0.053046 seconds and 4 git commands to generate.