浏览代码

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 <paulmck@linux.vnet.ibm.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@redhat.com>
Paul E. McKenney 7 年之前
父节点
当前提交
e31d28b6ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/trace/trace_benchmark.c

+ 1 - 1
kernel/trace/trace_benchmark.c

@@ -165,7 +165,7 @@ static int benchmark_event_kthread(void *arg)
 		 * this thread will never voluntarily schedule which would
 		 * this thread will never voluntarily schedule which would
 		 * block synchronize_rcu_tasks() indefinitely.
 		 * block synchronize_rcu_tasks() indefinitely.
 		 */
 		 */
-		cond_resched_rcu_qs();
+		cond_resched();
 	}
 	}
 
 
 	return 0;
 	return 0;