]> git.proxmox.com Git - mirror_qemu.git/blobdiff - tests/test-rcu-list.c
tests: numa: test one backend with prealloc enabled
[mirror_qemu.git] / tests / test-rcu-list.c
index 1442c0c98269104846b730c4981e168302842490..92be51ec505b2b231fd1d331f87cc3168539bd48 100644 (file)
@@ -235,7 +235,7 @@ static void *rcu_q_updater(void *arg)
             j++;
             if (target_el == j) {
                 struct list_element *new_el = g_new(struct list_element, 1);
-                n_nodes += n_nodes_local;
+                n_nodes_local++;
                 TEST_LIST_INSERT_AFTER_RCU(el, new_el, entry);
                 break;
             }