commit | f29e27325bfaf403cc8c0b6496fac3c6afd6cd8e | [log] [tgz] |
---|---|---|
author | Paul E. McKenney <paulmck@kernel.org> | Wed Jul 19 12:03:20 2023 -0700 |
committer | Paul E. McKenney <paulmck@kernel.org> | Wed Jul 19 12:03:20 2023 -0700 |
tree | a0f416f237867f930b9b09410a75599883891aeb | |
parent | 2b552d0dc3ffe71d912043f7dccf4b80af3fefbf [diff] |
torture: Share torture_random_state with torture_shuffle_tasks() Both torture_shuffle_tasks() and its caller torture_shuffle() define a torture_random_state structure. This is suboptimal given that torture_shuffle_tasks() runs for a very short period of time. This commit therefore causes torture_shuffle() to pass a pointer to its torture_random_state structure down to torture_shuffle_tasks(). Signed-off-by: Paul E. McKenney <paulmck@kernel.org>