|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH 01/16] qht: require a default comparison function |
Date: | Wed, 28 Feb 2018 11:02:55 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
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 <address@hidden> > --- > 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 <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |