]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 24 Oct 2017 15:26:32 +0000 (08:26 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 4 Dec 2017 18:28:58 +0000 (10:28 -0800)
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>
kernel/trace/trace_benchmark.c

index 79f838a75077286cb571a3c3deaada1d6499025a..22fee766081bc9fe9e4552674e6ab2be20a95d37 100644 (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;