]> git.baikalelectronics.ru Git - kernel.git/commit
rcu: Simplify rcu_sched_qs() control flow
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 29 Sep 2015 01:19:24 +0000 (18:19 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 4 Dec 2015 20:27:29 +0000 (12:27 -0800)
commitf5dd0c2a470be7af4d04f876d3c84fd0ef3c2783
tree3d16cf050eae5940f2ef115a5db601a66b3fe7c1
parentf9bcd07a8114444b924dde824df8e73139d291a6
rcu: Simplify rcu_sched_qs() control flow

This commit applies an early-exit approach to rcu_sched_qs(), reducing
the nesting level and saving a line of code.

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