diff options
author | Davide Caratti <dcaratti@redhat.com> | 2018-01-22 18:14:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-24 01:51:46 +0100 |
commit | 9c5f69bbd75a7db80578782b037629c5f1e59dce (patch) | |
tree | d2c862565b212a36ce9629f328958a4fbbbc956c /lib/assoc_array.c | |
parent | net/sched: act_csum: use per-core statistics (diff) | |
download | linux-9c5f69bbd75a7db80578782b037629c5f1e59dce.tar.xz linux-9c5f69bbd75a7db80578782b037629c5f1e59dce.zip |
net/sched: act_csum: don't use spinlock in the fast path
use RCU instead of spin_{,unlock}_bh() to protect concurrent read/write on
act_csum configuration, to reduce the effects of contention in the data
path when multiple readers are present.
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/assoc_array.c')
0 files changed, 0 insertions, 0 deletions