Skip to content

ipv6: optimize rt6_score_route()

Eric Dumazet netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2neighbour: annotate lockless accesses to n->nud_statedrivers/net/vxlan/vxlan_core.c include/net/neighbour.h net/bridge/br_arp_nd_proxy.c +10 more+36 -351 replyApplied
2/2ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()net/ipv6/route.c+4 -41 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid AhernMartin KaFai Lau
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] ipv6: optimize rt6_score_route()

This patch series remove an expensive rwlock acquisition in rt6_check_neigh()/rt6_score_route().

First patch adds missing annotations, and second patch implements the optimization.

Eric Dumazet (2):
neighbour: annotate lockless accesses to n->nud_state
ipv6: remove one read_lock()/read_unlock() pair in rt6_check_neigh()

 drivers/net/vxlan/vxlan_core.c  |  4 ++--
 include/net/neighbour.h         |  2 +-
 net/bridge/br_arp_nd_proxy.c    |  4 ++--
 net/bridge/br_netfilter_hooks.c |  3 ++-
 net/core/filter.c               |  4 ++--
 net/core/neighbour.c            | 28 ++++++++++++++--------------
 net/ipv4/arp.c                  |  8 ++++----
 net/ipv4/fib_semantics.c        |  4 ++--
 net/ipv4/nexthop.c              |  4 ++--
 net/ipv4/route.c                |  2 +-
 net/ipv6/ip6_output.c           |  2 +-
 net/ipv6/ndisc.c                |  4 ++--
 net/ipv6/route.c                | 10 +++++-----
 13 files changed, 40 insertions(+), 39 deletions(-)
Signature · 1 line
2.40.0.rc1.284.g88254d51c5-goog