]> 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)
commit5f082ab876df6ded50725f98c418ac1310917d56
tree3d16cf050eae5940f2ef115a5db601a66b3fe7c1
parent645aadd48904e7819e7c319abd46f21ae58d3a9e
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