diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-01-21 00:39:33 +0300 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2022-04-12 01:31:02 +0300 |
commit | 7b9e9b5856e188c1b3ff51185f3600ee79b4ab41 (patch) | |
tree | 793309999e33b3c5f439e55ecc18cbe741602b71 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 95ebe80d99de3cb849c522a1f768e5e8befa0b7c (diff) | |
download | linux-7b9e9b5856e188c1b3ff51185f3600ee79b4ab41.tar.xz |
srcu: Make srcu_funnel_gp_start() cache ->mynode in snp_leaf
Currently, the srcu_funnel_gp_start() walks its local variable snp up the
tree and reloads sdp->mynode whenever it is necessary to check whether
it is still at the leaf srcu_node level. This works, but is a bit more
obtuse than absolutely necessary. In addition, upcoming commits will
dynamically size srcu_struct structures, in which case sdp->mynode will
no longer necessarily be a constant, and this commit helps prepare for
that dynamic sizing.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions