rculfhash test: use per-cpu call-rcu threads
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 7 Jul 2011 15:49:09 +0000 (11:49 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 7 Jul 2011 15:49:09 +0000 (11:49 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/test_urcu_hash.c

index 16374d93ee5903876b03da344df97e302769959c..56bd41f977dd868ca9b4f6270f05b0c10a673095 100644 (file)
@@ -570,6 +570,9 @@ int main(int argc, char **argv)
        test_ht = ht_new(test_hash, test_compare, 0x42UL,
                         HASH_SIZE, call_rcu);
 
        test_ht = ht_new(test_hash, test_compare, 0x42UL,
                         HASH_SIZE, call_rcu);
 
+        err = create_all_cpu_call_rcu_data(0);
+        assert(!err);
+
        next_aff = 0;
 
        for (i = 0; i < nr_readers; i++) {
        next_aff = 0;
 
        for (i = 0; i < nr_readers; i++) {
This page took 0.025232 seconds and 4 git commands to generate.