qht: QEMU's fast, resizable and scalable Hash Table
commit2e11264aafe476c7a53accde4a23cfc2395a02fd
authorEmilio G. Cota <cota@braap.org>
Wed, 8 Jun 2016 18:55:28 +0000 (8 14:55 -0400)
committerRichard Henderson <rth@twiddle.net>
Sat, 11 Jun 2016 23:10:20 +0000 (11 23:10 +0000)
treebabcc42c91d518ae595474ace93acb9aec35ad1c
parentff9249b7337df52ff36cd8d35da496f6d9d009b1
qht: QEMU's fast, resizable and scalable Hash Table

This is a fast, scalable chained hash table with optional auto-resizing, allowing
reads that are concurrent with reads, and reads/writes that are concurrent
with writes to separate buckets.

A hash table with these features will be necessary for the scalability
of the ongoing MTTCG work; before those changes arrive we can already
benefit from the single-threaded speedup that qht also provides.

Signed-off-by: Emilio G. Cota <cota@braap.org>
Message-Id: <1465412133-3029-11-git-send-email-cota@braap.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/qemu/qht.h [new file with mode: 0644]
util/Makefile.objs
util/qht.c [new file with mode: 0644]