Deferral test update
authorMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 20 Sep 2009 02:23:11 +0000 (22:23 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Sun, 20 Sep 2009 02:23:11 +0000 (22:23 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
tests/test_urcu_defer.c

index 233b38498ced552ed04ba753af5974892d89ec2f..0961b8d2de85335efea234f63769e1bce98f00eb 100644 (file)
@@ -239,15 +239,13 @@ void *thr_writer(void *data)
                new->a = 8;
                old = rcu_xchg_pointer(&test_rcu_pointer, new);
                call_rcu(free, old);
-#if 0
                call_rcu(test_cb1, old);
                call_rcu(test_cb1, (void *)-2L);
                call_rcu(test_cb1, (void *)-2L);
                call_rcu(test_cb1, old);
                call_rcu(test_cb2, (void *)-2L);
-#endif //0
                call_rcu(test_cb2, (void *)-4L);
-               //call_rcu(test_cb2, (void *)-2L);
+               call_rcu(test_cb2, (void *)-2L);
                nr_writes++;
                if (unlikely(!test_duration_write()))
                        break;
This page took 0.035398 seconds and 4 git commands to generate.