aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-05-03 14:14:32 +0200
committerJason A. Donenfeld <[email protected]>2022-05-13 23:59:23 +0200
commitcbe89e5a375a51bbb952929b93fa973416fea74e (patch)
tree7e679dde0dc8117d6a56934b74a497ee35dcb528 /tools/perf/scripts/python/exported-sql-viewer.py
parentb7b67d1391a831eb9de133e85a2230e2e81a2ce4 (diff)
random: do not use batches when !crng_ready()
It's too hard to keep the batches synchronized, and pointless anyway, since in !crng_ready(), we're updating the base_crng key really often, where batching only hurts. So instead, if the crng isn't ready, just call into get_random_bytes(). At this stage nothing is performance critical anyhow. Cc: Theodore Ts'o <[email protected]> Reviewed-by: Dominik Brodowski <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions