rcu: Remove cond_resched() from Tiny synchronize_sched()
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 10 Jan 2017 07:23:15 +0000 (23:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jan 2017 07:24:37 +0000 (08:24 +0100)
commitbdeaa468e22171497b289c2f31d20ab6b318d53c
tree443853a9dd570f9d90afe1ba1f39add7b6ac2ffd
parentf779e00d2e86df2c9409c7cc8c054113c5086d1b
rcu: Remove cond_resched() from Tiny synchronize_sched()

commit f466ae66fa6a599f9a53b5f9bafea4b8cfffa7fb upstream.

It is now legal to invoke synchronize_sched() at early boot, which causes
Tiny RCU's synchronize_sched() to emit spurious splats.  This commit
therefore removes the cond_resched() from Tiny RCU's synchronize_sched().

Fixes: 8b355e3bc140 ("rcu: Drive expedited grace periods from workqueue")
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/rcu/tiny.c