]> Git Repo - linux.git/commit
net/sched: act_police: don't use spinlock in the data path
authorDavide Caratti <[email protected]>
Thu, 13 Sep 2018 17:29:13 +0000 (19:29 +0200)
committerDavid S. Miller <[email protected]>
Sun, 16 Sep 2018 22:30:22 +0000 (15:30 -0700)
commit2d550dbad83c88fc7cb594a1803e77457fe625f9
tree65206253194882b4ccb9a7b83aff2ebc4b1e883c
parent93be42f9173bbc133bd72915b658394308437d00
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/sched/act_police.c
This page took 0.051768 seconds and 4 git commands to generate.