diff options
author | Davide Caratti <dcaratti@redhat.com> | 2018-07-11 16:04:50 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-12 14:54:12 -0700 |
commit | c749cdda9089eb1fdb6a9ab98f945124d12f2595 (patch) | |
tree | 29ecf38f5595632596fd00c7f8b47c52e176aed6 /net/sched/sch_red.c | |
parent | net/sched: skbedit: use per-cpu counters (diff) | |
download | linux-dev-c749cdda9089eb1fdb6a9ab98f945124d12f2595.tar.xz linux-dev-c749cdda9089eb1fdb6a9ab98f945124d12f2595.zip |
net/sched: act_skbedit: don't use spinlock in the data path
use RCU instead of spin_{,un}lock_bh, to protect concurrent read/write on
act_skbedit 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>
Diffstat (limited to 'net/sched/sch_red.c')
0 files changed, 0 insertions, 0 deletions