diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-02-12 01:26:17 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-02-21 21:14:17 +0100 |
commit | afba0b80b977b2a8f16234f2acd982f82710ba33 (patch) | |
tree | 99864ad1e0b16d744af6e4b393c53a8fd709c051 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 58340f8e952b613e0ead0bed58b97b05bf4743c5 (diff) |
random: do not take pool spinlock at boot
Since rand_initialize() is run while interrupts are still off and
nothing else is running, we don't need to repeatedly take and release
the pool spinlock, especially in the RDSEED loop.
Reviewed-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions