diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-26 10:49:50 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-07-25 13:04:46 -0700 |
commit | 95335c0355834c16cc11f041a981ee6782dba2e9 (patch) | |
tree | b1105efc30a1b319e21a6b5fb1ec040660e77e66 /kernel/Kconfig.hz | |
parent | c47e067a3c57835fe5ce24d50482f5c325a64efd (diff) |
rcu: Check for NOCB CPUs and empty lists earlier in CB migration
The current CPU-hotplug RCU-callback-migration code checks
for the source (newly offlined) CPU being a NOCBs CPU down in
rcu_send_cbs_to_orphanage(). This commit simplifies callback migration a
bit by moving this check up to rcu_migrate_callbacks(). This commit also
adds a check for the source CPU having no callbacks, which eases analysis
of the rcu_send_cbs_to_orphanage() and rcu_adopt_orphan_cbs() functions.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/Kconfig.hz')
0 files changed, 0 insertions, 0 deletions