Merge branch 'ipv4-avoid-pathological-hash-tables'
authorJakub Kicinski <kuba@kernel.org>
Wed, 19 Jan 2022 16:14:42 +0000 (08:14 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 19 Jan 2022 16:14:43 +0000 (08:14 -0800)
commitff9fc0a31d85fcf0011eb4bc4ecaf47d3cc9e21c
treee9ad4aa8aa2d54dcb07afe7c0b0fa3b807855d21
parent8eb896a77701bef7c80a99833ca776c9ddc317c8
parent79eb15da3cd68f04b06edf73f9bbafa70a06871f
Merge branch 'ipv4-avoid-pathological-hash-tables'

Eric Dumazet says:

====================
ipv4: avoid pathological hash tables

This series speeds up netns dismantles on hosts
having many active netns, by making sure two hash tables
used for IPV4 fib contains uniformly spread items.

v2: changed second patch to add fib_info_laddrhash_bucket()
    for consistency (David Ahern suggestion).
====================

Link: https://lore.kernel.org/r/20220119100413.4077866-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>