Searched hist:c749cdda9089eb1fdb6a9ab98f945124d12f2595 (Results 1 – 2 of 2) sorted by relevance
/linux/include/net/tc_act/ |
H A D | tc_skbedit.h | diff c749cdda9089eb1fdb6a9ab98f945124d12f2595 Wed Jul 11 16:04:50 CEST 2018 Davide Caratti <dcaratti@redhat.com> 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>
|
/linux/net/sched/ |
H A D | act_skbedit.c | diff c749cdda9089eb1fdb6a9ab98f945124d12f2595 Wed Jul 11 16:04:50 CEST 2018 Davide Caratti <dcaratti@redhat.com> 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>
|