diff options
author | 2018-05-22 11:38:47 -0700 | |
---|---|---|
committer | 2018-07-12 15:42:04 -0700 | |
commit | 3025520ec424df8b0fd5cdc319ad6b83406d9954 (patch) | |
tree | c58744959ebe2755b9c5dcb6b78049eaa6f866f1 /tools/perf/scripts/python | |
parent | rcutorture: Use atomic increment for n_rcu_torture_timers (diff) | |
download | wireguard-linux-3025520ec424df8b0fd5cdc319ad6b83406d9954.tar.xz wireguard-linux-3025520ec424df8b0fd5cdc319ad6b83406d9954.zip |
rcutorture: Use per-CPU random state for rcu_torture_timer()
Currently, the rcu_torture_timer() function uses a single global
torture_random_state structure protected by a single global lock.
This conflicts to some extent with performance and scalability,
but even more with the goal of consolidating read-side testing
with rcu_torture_reader(). This commit therefore creates a per-CPU
torture_random_state structure for use by rcu_torture_timer() and
eliminates the lock.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
[ paulmck: Make rcu_torture_timer_rand static, per 0day Test Robot report. ]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions