Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e31d28b6 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
parent a7e6425e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;