projects
/
userspace-rcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: tests/rcutorture: Put thread offline on busy-wait
[userspace-rcu.git]
/
tests
/
regression
/
rcutorture.h
diff --git
a/tests/regression/rcutorture.h
b/tests/regression/rcutorture.h
index 93fdf0cf373c6623dafec968b64257bb96a24bd6..f495cbd12259709721212a17b84a7e7744be905a 100644
(file)
--- a/
tests/regression/rcutorture.h
+++ b/
tests/regression/rcutorture.h
@@
-405,7
+405,10
@@
void *rcu_update_stress_test(void *arg __attribute__((unused)))
call_rcu(&rh, rcu_update_stress_test_rcu);
+ /* Offline for busy-wait. */
+ put_thread_offline();
urcu_adaptative_busy_wait(&wait);
+ put_thread_online();
break;
}
case WRITER_STATE_POLL_RCU:
This page took
0.023333 seconds
and
4
git commands to generate.