From rcu-api.txt:
`call_rcu` should be called from registered RCU read-side threads.
For the QSBR flavor, the caller should be online.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
struct rcu_stress *p;
struct rcu_head rh;
struct rcu_stress *p;
struct rcu_head rh;
+ rcu_register_thread();
+ rcu_thread_offline();
+
while (goflag == GOFLAG_INIT)
poll(NULL, 0, 1);
while (goflag == GOFLAG_RUN) {
while (goflag == GOFLAG_INIT)
poll(NULL, 0, 1);
while (goflag == GOFLAG_RUN) {
+
+ rcu_thread_online();
+ rcu_unregister_thread();