public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 00/11] net_sched: act: extend RCU use in dump() methods
@ 2025-07-07 13:00 Eric Dumazet
  2025-07-07 13:01 ` [PATCH net-next 01/11] net_sched: act: annotate data-races in tcf_lastuse_update() and tcf_tm_dump() Eric Dumazet
                   ` (10 more replies)
  0 siblings, 11 replies; 16+ messages in thread
From: Eric Dumazet @ 2025-07-07 13:00 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski, Paolo Abeni
  Cc: Simon Horman, Jamal Hadi Salim, Cong Wang, Jiri Pirko,
	Kuniyuki Iwashima, netdev, eric.dumazet, Eric Dumazet

We are trying to get away from central RTNL in favor of fine-grained
mutexes. While looking at net/sched, I found that act already uses
RCU in the fast path for the most cases, and could also be used
in dump() methods.

This series is not complete and will be followed by a second one.

Eric Dumazet (11):
  net_sched: act: annotate data-races in tcf_lastuse_update() and
    tcf_tm_dump()
  net_sched: act_connmark: use RCU in tcf_connmark_dump()
  net_sched: act_csum: use RCU in tcf_csum_dump()
  net_sched: act_ct: use RCU in tcf_ct_dump()
  net_sched: act_ctinfo: use atomic64_t for three counters
  net_sched: act_ctinfo: use RCU in tcf_ctinfo_dump()
  net_sched: act_mpls: use RCU in tcf_mpls_dump()
  net_sched: act_nat: use RCU in tcf_nat_dump()
  net_sched: act_pedit: use RCU in tcf_pedit_dump()
  net_sched: act_police: use RCU in tcf_police_dump()
  net_sched: act_skbedit: use RCU in tcf_skbedit_dump()

 include/net/act_api.h            | 23 ++++++++++-------
 include/net/tc_act/tc_connmark.h |  1 +
 include/net/tc_act/tc_csum.h     |  1 +
 include/net/tc_act/tc_ct.h       |  2 +-
 include/net/tc_act/tc_ctinfo.h   |  7 +++---
 include/net/tc_act/tc_mpls.h     |  1 +
 include/net/tc_act/tc_nat.h      |  1 +
 include/net/tc_act/tc_pedit.h    |  1 +
 include/net/tc_act/tc_police.h   |  3 ++-
 include/net/tc_act/tc_skbedit.h  |  1 +
 net/sched/act_connmark.c         | 18 ++++++++------
 net/sched/act_csum.c             | 18 +++++++-------
 net/sched/act_ct.c               | 30 +++++++++++------------
 net/sched/act_ctinfo.c           | 42 +++++++++++++++++---------------
 net/sched/act_mpls.c             | 21 ++++++++--------
 net/sched/act_nat.c              | 25 +++++++++----------
 net/sched/act_pedit.c            | 20 +++++++--------
 net/sched/act_police.c           | 18 +++++++-------
 net/sched/act_skbedit.c          | 20 +++++++--------
 19 files changed, 133 insertions(+), 120 deletions(-)

-- 
2.50.0.727.gbf7dc18ff4-goog


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

end of thread, other threads:[~2025-07-08 13:20 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-07 13:00 [PATCH net-next 00/11] net_sched: act: extend RCU use in dump() methods Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 01/11] net_sched: act: annotate data-races in tcf_lastuse_update() and tcf_tm_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 02/11] net_sched: act_connmark: use RCU in tcf_connmark_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 03/11] net_sched: act_csum: use RCU in tcf_csum_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 04/11] net_sched: act_ct: use RCU in tcf_ct_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 05/11] net_sched: act_ctinfo: use atomic64_t for three counters Eric Dumazet
2025-07-07 15:53   ` Pedro Tammela
2025-07-07 13:01 ` [PATCH net-next 06/11] net_sched: act_ctinfo: use RCU in tcf_ctinfo_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 07/11] net_sched: act_mpls: use RCU in tcf_mpls_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 08/11] net_sched: act_nat: use RCU in tcf_nat_dump() Eric Dumazet
2025-07-08 12:54   ` Simon Horman
2025-07-08 12:59     ` Simon Horman
2025-07-08 13:20     ` Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 09/11] net_sched: act_pedit: use RCU in tcf_pedit_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 10/11] net_sched: act_police: use RCU in tcf_police_dump() Eric Dumazet
2025-07-07 13:01 ` [PATCH net-next 11/11] net_sched: act_skbedit: use RCU in tcf_skbedit_dump() Eric Dumazet

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