netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] net/sched: optimizations around action binding and init
@ 2023-12-11 18:18 Pedro Tammela
  2023-12-11 18:18 ` [PATCH net-next v2 1/2] net/sched: act_api: rely on rcu in tcf_idr_check_alloc Pedro Tammela
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Pedro Tammela @ 2023-12-11 18:18 UTC (permalink / raw)
  To: netdev
  Cc: davem, edumazet, kuba, pabeni, jhs, xiyou.wangcong, jiri,
	marcelo.leitner, vladbu, Pedro Tammela

Scaling optimizations for action binding in rtnl-less filters.
We saw a noticeable lock contention around idrinfo->lock when
testing in a 56 core system, which disappeared after the patches.

v1->v2:
- Address comments from Vlad

Pedro Tammela (2):
  net/sched: act_api: rely on rcu in tcf_idr_check_alloc
  net/sched: act_api: skip idr replace on bound actions

 include/net/act_api.h |  2 +-
 net/sched/act_api.c   | 76 ++++++++++++++++++++++++++++---------------
 net/sched/cls_api.c   |  2 +-
 3 files changed, 51 insertions(+), 29 deletions(-)

-- 
2.40.1


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

end of thread, other threads:[~2023-12-14  2:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-11 18:18 [PATCH net-next v2 0/2] net/sched: optimizations around action binding and init Pedro Tammela
2023-12-11 18:18 ` [PATCH net-next v2 1/2] net/sched: act_api: rely on rcu in tcf_idr_check_alloc Pedro Tammela
2023-12-11 18:18 ` [PATCH net-next v2 2/2] net/sched: act_api: skip idr replace on bound actions Pedro Tammela
2023-12-12 15:59 ` [PATCH net-next v2 0/2] net/sched: optimizations around action binding and init Jamal Hadi Salim
2023-12-12 17:34 ` Vlad Buslov
2023-12-14  2:00 ` 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;
as well as URLs for NNTP newsgroup(s).