diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2022-11-07 03:16:14 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2023-01-04 02:52:54 +0100 |
commit | 95f93e97ed0f56f54f74293a0a82e05599d5078d (patch) | |
tree | 7219e80f6e48e23014daeb1175a4048b84f17530 /kernel/rcu/refscale.c | |
parent | Linux 6.2-rc1 (diff) | |
download | linux-95f93e97ed0f56f54f74293a0a82e05599d5078d.tar.xz linux-95f93e97ed0f56f54f74293a0a82e05599d5078d.zip |
torture: Seed torture_random_state on CPU
The DEFINE_TORTURE_RANDOM_PERCPU() macro defines per-CPU random-number
generators for torture testing, but the seeds for each CPU's instance
will be identical if they are first used at the same time. This commit
therefore adds the CPU number to the mix when reseeding.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/rcu/refscale.c')
0 files changed, 0 insertions, 0 deletions