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

rcu/nocb: Use separate flag to indicate offloaded ->cblist



RCU callback processing currently uses rcu_is_nocb_cpu() to determine
whether or not the current CPU's callbacks are to be offloaded.
This works, but it is not so good for cache locality.  Plus use of
->cblist for offloaded callbacks will greatly increase the frequency
of these checks.  This commit therefore adds a ->offloaded flag to the
rcu_segcblist structure to provide a more flexible and cache-friendly
means of checking for callback offloading.

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