commit | 2d550dbad83c88fc7cb594a1803e77457fe625f9 | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Thu Sep 13 19:29:13 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Sep 16 15:30:22 2018 -0700 |
tree | 65206253194882b4ccb9a7b83aff2ebc4b1e883c | |
parent | 93be42f9173bbc133bd72915b658394308437d00 [diff] |
net/sched: act_police: don't use spinlock in the data path use RCU instead of spinlocks, to protect concurrent read/write on act_police configuration. This reduces the effects of contention in the data path, in case multiple readers are present. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>