Fix: test initial population needs QS
[userspace-rcu.git] / tests / test_urcu_ja_range.c
index b0f2fe405a9121a9cbff91b05fe84fa61b58caaa..18f36d5f4d9826993b8480c5294dcc17b7651c06 100644 (file)
@@ -383,6 +383,9 @@ int do_mt_populate_ja(void)
                URCU_TLS(nr_add)++;
                URCU_TLS(nr_writes)++;
                rcu_read_unlock();
+               /* Hash table resize only occurs in call_rcu thread */
+               if (!(iter % 100))
+                       rcu_quiescent_state();
                if (ret) {
                        fprintf(stderr, "Error (%d) adding range %" PRIu64 "\n",
                                ret, key);
This page took 0.022633 seconds and 4 git commands to generate.