- call_rcu(free, old);
- 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);
- call_rcu(test_cb2, (void *)-4L);
- call_rcu(test_cb2, (void *)-2L);
- nr_writes++;
- if (unlikely(!test_duration_write()))
+ if (caa_unlikely(wduration))
+ loop_sleep(wduration);
+ defer_rcu(free, old);
+ defer_rcu(test_cb1, old);
+ defer_rcu(test_cb1, (void *)-2L);
+ defer_rcu(test_cb1, (void *)-2L);
+ defer_rcu(test_cb1, old);
+ defer_rcu(test_cb2, (void *)-2L);
+ defer_rcu(test_cb2, (void *)-4L);
+ defer_rcu(test_cb2, (void *)-2L);
+ URCU_TLS(nr_writes)++;
+ if (caa_unlikely(!test_duration_write()))