aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-06-23 17:49:40 -0700
committerPaul E. McKenney <paulmck@kernel.org>2020-08-24 18:36:07 -0700
commita2b354b9950bb859d8d959f951dda26725b041fb (patch)
treea262cadd8ed9ef7492dfd22f02d5bd48db0d7e73 /tools/perf/scripts/python/export-to-postgresql.py
parentrcu: Add READ_ONCE() to rcu_do_batch() access to rcu_divisor (diff)
downloadwireguard-linux-a2b354b9950bb859d8d959f951dda26725b041fb.tar.xz
wireguard-linux-a2b354b9950bb859d8d959f951dda26725b041fb.zip
rcu: Add READ_ONCE() to rcu_do_batch() access to rcu_resched_ns
Given that sysfs can change the value of rcu_resched_ns at any time, this commit adds a READ_ONCE() to the sole access to that variable. While in the area, this commit also adds bounds checking, clamping the value to at least a millisecond, but no longer than a second. 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