Tue, Jul 24, 2018 at 10:06:41PM CEST, pab...@redhat.com wrote: >Each lockless action currently does its own RCU locking in ->act(). >This is allows using plain RCU accessor, even if the context >is really RCU BH. > >This change drops the per action RCU lock, replace the accessors >with _bh variant, cleans up a bit the surronding code and documents
s/surronding/surrounding/ >the RCU status in the relevant header. >No functional nor performance change is intended. > >The goal of this patch is clarifying that the RCU critical section >used by the tc actions extends up to the classifier's caller. > >v1 -> v2: > - preserve rcu lock in act_bpf: it's needed by eBPF helpers, > as pointed out by Daniel > >Signed-off-by: Paolo Abeni <pab...@redhat.com> Acked-by: Jiri Pirko <j...@mellanox.com>