public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net 0/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (series)
@ 2026-04-30  6:16 Eric Dumazet
  2026-04-30  6:16 ` [PATCH net 1/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (I) Eric Dumazet
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Eric Dumazet @ 2026-04-30  6:16 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Jamal Hadi Salim, Toke Høiland-Jørgensen,
	Jiri Pirko, netdev, eric.dumazet, Eric Dumazet

cake_dump_class_stats() runs without qdisc spinlock being held.

In this series (of two), I add READ_ONCE()/WRITE_ONCE() annotations for:

- flow->head
- flow->dropped
- b->backlogs[]
- flow->deficit
- flow->cvars.dropping
- flow->cvars.count
- flow->cvars.p_drop
- flow->cvars.blue_timer
- flow->cvars.drop_next

Eric Dumazet (2):
  net/sched: sch_cake: annotate data-races in cake_dump_class_stats (I)
  net/sched: sch_cake: annotate data-races in cake_dump_class_stats (II)

 net/sched/sch_cake.c | 155 +++++++++++++++++++++++--------------------
 1 file changed, 83 insertions(+), 72 deletions(-)

-- 
2.54.0.545.g6539524ca2-goog


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-05-03  0:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30  6:16 [PATCH net 0/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (series) Eric Dumazet
2026-04-30  6:16 ` [PATCH net 1/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (I) Eric Dumazet
2026-05-02 21:32   ` Toke Høiland-Jørgensen
2026-04-30  6:16 ` [PATCH net 2/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (II) Eric Dumazet
2026-05-02 21:35   ` Toke Høiland-Jørgensen
2026-05-02 17:58 ` [PATCH net 0/2] net/sched: sch_cake: annotate data-races in cake_dump_class_stats (series) Simon Horman
2026-05-03  0:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox