trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()

Now that cond_resched() also provides RCU quiescent states when
needed, it can be used in place of cond_resched_rcu_qs().  This
commit therefore makes this change.

Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
This commit is contained in:
Paul E. McKenney committed 2017-12-04 10:28:58 -08:00
1 parent a7e6425ea5
commit e31d28b6ab
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ static int benchmark_event_kthread(void *arg)
* this thread will never voluntarily schedule which would
* block synchronize_rcu_tasks() indefinitely.
*/
cond_resched_rcu_qs();
cond_resched();
}
return 0;