]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited()
authorPaul E. McKenney <paulmck@linux.ibm.com>
Thu, 29 Nov 2018 18:01:52 +0000 (10:01 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Fri, 25 Jan 2019 23:28:27 +0000 (15:28 -0800)
commitc582641ba8bb9c76ac02e54b6b378e571e99edff
tree130cd231642519cc247c0bf5f982630483964525
parent2f6b13ca0b90ad05686c7ac5e5ca9fef9eb1fd60
rcu: Consolidate PREEMPT and !PREEMPT synchronize_rcu_expedited()

The CONFIG_PREEMPT=n and CONFIG_PREEMPT=y implementations of
synchronize_rcu_expedited() are quite similar, and with small
modifications to rcu_blocking_is_gp() can be made identical.  This commit
therefore makes this change in order to save a few lines of code and to
reduce the amount of duplicate code.

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