commit | 9c5f69bbd75a7db80578782b037629c5f1e59dce | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Mon Jan 22 18:14:32 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 23 19:51:46 2018 -0500 |
tree | d2c862565b212a36ce9629f328958a4fbbbc956c | |
parent | f6052cf2fc51772ea51e54c795b9ea234834ad9a [diff] |
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>