]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 29 Nov 2018 18:42:06 +0000 (10:42 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:28:28 +0000 (15:28 -0800)
commitc6746a97c9b855f1e0d55a65f362a042c4cd5139
tree600c386d8d0605b7f7f16c3046042d0c66a2da00
parent9cd155f82b223c3d92864a785ccf7d951e5b1aaa
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu()

Now that rcu_blocking_is_gp() makes the correct immediate-return
decision for both PREEMPT and !PREEMPT, a single implementation of
synchronize_rcu() will work correctly under both configurations.
This commit therefore eliminates a few lines of code by consolidating
the two implementations of synchronize_rcu().

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree.c
kernel/rcu/tree_exp.h
kernel/rcu/tree_plugin.h