]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitda4b81e97106a6d53733657914569bade519c665
treee9ad4aa8aa2d54dcb07afe7c0b0fa3b807855d21
parente32ee1eb4cf622c9485f5aadf37d60dc98c9b0af
parentec6e88aad82c982814ae9595c964eb3c2a8a1692
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>