Thread (28 messages) flat view 28 messages, 5 authors, 2018-09-14

Re: [PATCH net-next 03/13] net: sched: extend Qdisc with rcu

From: Eric Dumazet <hidden>
Date: 2018-09-06 13:04:42


On 09/06/2018 12:58 AM, Vlad Buslov wrote:

...
quoted hunk ↗ jump to hunk
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help