Skip to content
Commit 750d7f6a authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

rcu/nocb: Add checks for offloaded callback processing



This commit is a preparatory patch for offloaded callbacks using the
same ->cblist structure used by non-offloaded callbacks.  It therefore
adds rcu_segcblist_is_offloaded() calls where they will be needed when
!rcu_segcblist_is_enabled() no longer flags the offloaded case.  It also
adds checks in rcu_do_batch() to ensure that there are no missed checks:
Currently, it should not be possible for offloaded execution to reach
rcu_do_batch(), though this will change later in this series.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.ibm.com>
parent ce5215c1
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