summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2022-01-24 20:46:57 +0300
committerPaul E. McKenney <paulmck@kernel.org>2022-04-12 01:31:02 +0300
commit994f706872e6ce080506bd795ecf783d5b617de6 (patch)
tree7c01572e0d810136116c6b26e548507961e809dc /tools/perf/scripts/python/export-to-sqlite.py
parent7b9e9b5856e188c1b3ff51185f3600ee79b4ab41 (diff)
downloadlinux-994f706872e6ce080506bd795ecf783d5b617de6.tar.xz
srcu: Make Tree SRCU able to operate without snp_node array
This commit makes Tree SRCU able to operate without an snp_node array, that is, when the srcu_data structures' ->mynode pointers are NULL. This can result in high contention on the srcu_struct structure's ->lock, but only when there are lots of call_srcu(), synchronize_srcu(), and synchronize_srcu_expedited() calls. Note that when there is no snp_node array, all SRCU callbacks use CPU 0's callback queue. This is optimal in the common case of low update-side load because it removes the need to search each CPU for the single callback that made the grace period happen. Co-developed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> Signed-off-by: Neeraj Upadhyay <quic_neeraju@quicinc.com> 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