Skip to content
Commit 0cabb47a authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu: Refactor rcu_barrier() empty-list handling



This commit saves a few lines by checking first for an empty callback
list.  If the callback list is empty, then that CPU is taken care of,
regardless of its online or nocb state.  Also simplify tracing accordingly
and fold a few lines together.

Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent 82980b16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment