mbox series

[net-next,0/2] net/sched: optimizations around action binding and init

Message ID 20231205153012.484687-1-pctammela@mojatatu.com (mailing list archive)
Headers show
Series net/sched: optimizations around action binding and init | expand

Message

Pedro Tammela Dec. 5, 2023, 3:30 p.m. UTC
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.

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   | 67 ++++++++++++++++++++++++++-----------------
 net/sched/cls_api.c   |  2 +-
 3 files changed, 42 insertions(+), 29 deletions(-)