torture: Consolidate cond_resched_rcu_qs() into stutter_wait()
[firefly-linux-kernel-4.4.55.git] / kernel / rcu / rcutorture.c
index 77192953dee5f5a54b10131ee70684fafb18c2c6..8a65b7d471a04608fbf25891a61938d2d10b52db 100644 (file)
@@ -768,7 +768,6 @@ static int rcu_torture_boost(void *arg)
                                }
                                call_rcu_time = jiffies;
                        }
-                       cond_resched_rcu_qs();
                        stutter_wait("rcu_torture_boost");
                        if (torture_must_stop())
                                goto checkwait;
@@ -1208,7 +1207,6 @@ rcu_torture_reader(void *arg)
                __this_cpu_inc(rcu_torture_batch[completed]);
                preempt_enable();
                cur_ops->readunlock(idx);
-               cond_resched_rcu_qs();
                stutter_wait("rcu_torture_reader");
        } while (!torture_must_stop());
        if (irqreader && cur_ops->irq_capable) {