]> 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)
commit96329bf093100952e04fe6ad2129695b7f2d85af
tree600c386d8d0605b7f7f16c3046042d0c66a2da00
parentc582641ba8bb9c76ac02e54b6b378e571e99edff
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