ipv6: prevent fib6_run_gc() contention
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyApplied
- v11 patch 8 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ipv6: prevent fib6_run_gc() contentioninclude/ net/ net/ +1 more | +13 | 0 replies | |
| 2/2 | ipv6: update ip6_rt_last_gc every time GC is runnet/ net/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH net v2 0/2] ipv6: prevent fib6_run_gc() contention
On a high-traffic router with many processors and many IPv6 dst entries, soft lockup in fib6_run_gc() can occur when number of entries reaches gc_thresh. Prevent this by not waiting for the lock if garbage collector is already running as we would only run it again as soon as it finished.
v2: as suggested by Eric Dumazet, move update of ip6_rt_last_gc into
fib6_run_gc() so that it reflects every run of garbage collector rather than only those via ip6_dst_gc()
Michal Kubecek (2):
ipv6: prevent fib6_run_gc() contention
ipv6: update ip6_rt_last_gc every time GC is run
include/net/ip6_fib.h | 2 +- net/ipv6/ip6_fib.c | 25 +++++++++++++------------ net/ipv6/ndisc.c | 4 ++-- net/ipv6/route.c | 8 +++----- 4 files changed, 19 insertions(+), 20 deletions(-)
Signature · 1 line
1.8.1.4