On 02/26/2018 09:39 PM, Emilio G. Cota wrote: > qht_lookup now uses the default cmp function. qht_lookup_custom is defined > to retain the old behaviour, that is a cmp function is explicitly provided. > > qht_insert will gain use of the default cmp in the next patch. > > Signed-off-by: Emilio G. Cota <c...@braap.org> > --- > accel/tcg/cpu-exec.c | 4 ++-- > accel/tcg/translate-all.c | 16 +++++++++++++++- > include/qemu/qht.h | 23 +++++++++++++++++++---- > tests/qht-bench.c | 14 +++++++------- > tests/test-qht.c | 15 ++++++++++----- > util/qht.c | 14 +++++++++++--- > 6 files changed, 64 insertions(+), 22 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~