diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-04-24 11:03:39 -0700 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-06-25 11:25:41 -0700 |
| commit | 5257514d8885b2ebc11bf359ea1527282b47a5fd (patch) | |
| tree | 7c39cb001d70f457cf4873ce2b00cec9001e0bdf /tools/perf/scripts/python/bin | |
| parent | Linux 4.18-rc1 (diff) | |
| download | linux-5257514d8885b2ebc11bf359ea1527282b47a5fd.tar.gz linux-5257514d8885b2ebc11bf359ea1527282b47a5fd.zip | |
rcu: Make expedited grace period use direct call on last leaf
During expedited grace-period initialization, a work item is scheduled
for each leaf rcu_node structure. However, that initialization code
is itself (normally) executing from a workqueue, so one of the leaf
rcu_node structures could just as well be handled by that pre-existing
workqueue, and with less overhead. This commit therefore uses a
shiny new rcu_is_leaf_node() macro to execute the last leaf rcu_node
structure's initialization directly from the pre-existing workqueue.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
