On 09/06/2018 12:58 AM, Vlad Buslov wrote: ... > diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h > index 18e22a5a6550..239c73f29471 100644 > --- a/include/net/sch_generic.h > +++ b/include/net/sch_generic.h > @@ -90,6 +90,7 @@ struct Qdisc { > struct gnet_stats_queue __percpu *cpu_qstats; > int padded; > refcount_t refcnt; > + struct rcu_head rcu; > > /* > * For performance sake on SMP, we put highly modified fields at the end Probably better to move this at the end of struct Qdisc, not risking unexpected performance regressions in fast path.
- [PATCH net-next 05/13] net: sched: use Qdisc rcu API instead ... Vlad Buslov
- [PATCH net-next 08/13] net: sched: rename tcf_block_get{_ext}... Vlad Buslov
- [PATCH net-next 02/13] net: sched: rename qdisc_destroy() to ... Vlad Buslov
- [PATCH net-next 13/13] net: sched: add flags to Qdisc class o... Vlad Buslov
- [PATCH net-next 12/13] net: sched: use reference counting for... Vlad Buslov
- [PATCH net-next 09/13] net: sched: extend tcf_block with rcu Vlad Buslov
- [PATCH net-next 11/13] net: sched: implement tcf_block_get() ... Vlad Buslov
- [PATCH net-next 04/13] net: sched: add helper function to tak... Vlad Buslov
- [PATCH net-next 10/13] net: sched: protect block idr with spi... Vlad Buslov
- [PATCH net-next 03/13] net: sched: extend Qdisc with rcu Vlad Buslov
- Re: [PATCH net-next 03/13] net: sched: extend Qdisc with... Eric Dumazet
- Re: [PATCH net-next 03/13] net: sched: extend Qdisc ... Kirill Tkhai
- Re: [PATCH net-next 03/13] net: sched: extend Qd... Eric Dumazet
- Re: [PATCH net-next 03/13] net: sched: extend Qd... Vlad Buslov
- Re: [PATCH net-next 03/13] net: sched: exten... Eric Dumazet
- [PATCH net-next 07/13] net: sched: implement functions to put... Vlad Buslov
- [PATCH net-next 06/13] net: sched: change tcf block reference... Vlad Buslov
- [PATCH net-next 01/13] net: core: netlink: add helper refcoun... Vlad Buslov