- for (i = 0; i < 1000000; i++) {
- qparity = rcu_read_lock();
- local_ptr = rcu_dereference(test_rcu_pointer);
- if (local_ptr) {
- assert(local_ptr->a == 8);
- assert(local_ptr->b == 12);
- assert(local_ptr->c[55] == 2);
+ for (i = 0; i < 1000; i++) {
+ for (j = 0; j < 100000000; j++) {
+ qparity = rcu_read_lock();
+ local_ptr = rcu_dereference(test_rcu_pointer);
+ if (local_ptr) {
+ assert(local_ptr->a == 8);
+ assert(local_ptr->b == 12);
+ assert(local_ptr->c[55] == 2);
+ }
+ rcu_read_unlock(qparity);