diff options
author | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-04-16 14:09:15 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.ibm.com> | 2019-08-13 14:35:49 -0700 |
commit | c00045be32fe13333ba8c62748ba04747c182838 (patch) | |
tree | f62d6a3588c76d30d16e9f720fa30c5d8f4106ea /Makefile | |
parent | 750d7f6a434ff4640fa825dfb1eccb44e79fb6af (diff) | |
download | linux-c00045be32fe13333ba8c62748ba04747c182838.tar.gz linux-c00045be32fe13333ba8c62748ba04747c182838.tar.bz2 linux-c00045be32fe13333ba8c62748ba04747c182838.zip |
rcu/nocb: Make rcutree_migrate_callbacks() start at leaf rcu_node structure
Because rcutree_migrate_callbacks() is invoked infrequently and because
an exact snapshot of the grace-period state might save some callbacks a
second trip through a grace period, this function has used the root
rcu_node structure. However, this safe-second-trip optimization
happens only if rcutree_migrate_callbacks() races with grace-period
initialization, so it is not worth the added mental load. This commit
therefore makes rcutree_migrate_callbacks() start with the leaf rcu_node
structures, as is done elsewhere.
Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions