]> git.ipfire.org Git - thirdparty/openssl.git/commit
For lockless reads use the whole hashtable for colliding entries
authorTomas Mraz <tomas@openssl.org>
Fri, 16 Aug 2024 13:40:43 +0000 (15:40 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 21 Aug 2024 13:21:26 +0000 (15:21 +0200)
commit9f7489835d30d60e6a0365935c7009237710d96a
tree23b5f2ef90b98db622e3e52579ae524aa82e62f6
parent4cad608509855a7c181a856d64084c97aee80589
For lockless reads use the whole hashtable for colliding entries

Instead of just using the neighborhood, fill
subsequent neighborhoods with colliding entries.

If the hashtable is properly sized, it won't degrade
performance too much.

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Paul Dale <ppzgs1@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/24504)
crypto/hashtable/hashtable.c
test/lhash_test.c