OSDN Git Service

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)
commitfecbf6f01fbd83e6419ccb7f61d9a6eb987f1d92
tree3d16cf050eae5940f2ef115a5db601a66b3fe7c1
parent47dbc90663f697a4515a8dd5c99ae43dba108cb4
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