summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-02-05 01:55:29 +0300
committerPaul E. McKenney <paulmck@kernel.org>2020-02-21 02:58:23 +0300
commit3d05031ae6de6ad084aa41263aed1343065233d5 (patch)
tree4f413b88d90e48852037943c1470c46076e94a82 /tools/perf/scripts/python/export-to-sqlite.py
parent13817dd589f426aee9c36e3670e7cb2a7f067d23 (diff)
downloadlinux-3d05031ae6de6ad084aa41263aed1343065233d5.tar.xz
rcu: Make nocb_gp_wait() double-check unexpected-callback warning
Currently, nocb_gp_wait() unconditionally complains if there is a callback not already associated with a grace period. This assumes that either there was no such callback initially on the one hand, or that the rcu_advance_cbs() function assigned all such callbacks to a grace period on the other. However, in theory there are some situations that would prevent rcu_advance_cbs() from assigning all of the callbacks. This commit therefore checks for unassociated callbacks immediately after rcu_advance_cbs() returns, while the corresponding rcu_node structure's ->lock is still held. If there are unassociated callbacks at that point, the subsequent WARN_ON_ONCE() is disabled. 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