summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2024-05-12 18:02:07 +0300
committerPaul E. McKenney <paulmck@kernel.org>2024-07-04 23:48:57 +0300
commit6f4cec22c38a33c1981e8f39cdc698119903f1cb (patch)
tree35a8f168a32cf55caee5efaa3b6276c6fe9ec515 /tools/perf/scripts/python/export-to-postgresql.py
parent7f09e70f9eae95b12488b931ee249f36e35df542 (diff)
downloadlinux-6f4cec22c38a33c1981e8f39cdc698119903f1cb.tar.xz
rcu: Eliminate lockless accesses to rcu_sync->gp_count
The rcu_sync structure's ->gp_count field is always accessed under the protection of that same structure's ->rss_lock field, with the exception of a pair of WARN_ON_ONCE() calls just prior to acquiring that lock in functions rcu_sync_exit() and rcu_sync_dtor(). These lockless accesses are unnecessary and impair KCSAN's ability to catch bugs that might be inserted via other lockless accesses. This commit therefore moves those WARN_ON_ONCE() calls under the lock. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions