summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-01-28 23:44:03 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-04 19:22:32 +0100
commit042e293e16e3aa9794ce60c29f5b7b0c8170f933 (patch)
treeb0f1c07c6222f4aa408dfa7aff26fbefb0bdc2db /tools/perf/scripts/python/export-to-postgresql.py
parentc321e907aa4803d562d6e70ebed9444ad082f953 (diff)
random: wake up /dev/random writers after zap
When account() is called, and the amount of entropy dips below random_write_wakeup_bits, we wake up the random writers, so that they can write some more in. However, the RNDZAPENTCNT/RNDCLEARPOOL ioctl sets the entropy count to zero -- a potential reduction just like account() -- but does not unblock writers. This commit adds the missing logic to that ioctl to unblock waiting writers. 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-postgresql.py')
0 files changed, 0 insertions, 0 deletions