summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-02-22 16:01:57 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2022-02-24 18:32:35 +0300
commita3f9e8910e1584d7725ef7d5ac870920d42d0bb4 (patch)
treefff59506c16c2deeda60cca2e8a4c76b97cd9dd9 /tools/perf/scripts/python/export-to-sqlite.py
parentda3951ebdcd1cb1d5c750e08cd05aee7b0c04d9a (diff)
downloadlinux-a3f9e8910e1584d7725ef7d5ac870920d42d0bb4.tar.xz
random: only wake up writers after zap if threshold was passed
The only time that we need to wake up /dev/random writers on RNDCLEARPOOL/RNDZAPPOOL is when we're changing from a value that is greater than or equal to POOL_MIN_BITS to zero, because if we're changing from below POOL_MIN_BITS to zero, the writers are already unblocked. Cc: Theodore Ts'o <tytso@mit.edu> 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