diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-22 11:38:47 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 15:42:04 -0700 |
commit | 3025520ec424df8b0fd5cdc319ad6b83406d9954 (patch) | |
tree | c58744959ebe2755b9c5dcb6b78049eaa6f866f1 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8da9a59523b6608f4b21f3e489578d0993c0779f (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions