aboutsummaryrefslogtreecommitdiffstats
path: root/rdrand_asm.S
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2012-07-30 14:42:36 -0700
committerJeff Garzik <jgarzik@redhat.com>2012-07-31 15:32:58 -0400
commit870f0d5d2f06d778a49e35d3a5f55183e5c9b9c0 (patch)
treeef64fe562cb09af6f91b3478329645d6f707ac04 /rdrand_asm.S
parent593a93021566a41546b433bbb5d4eb66302c5eb3 (diff)
downloadrng-tools-870f0d5d2f06d778a49e35d3a5f55183e5c9b9c0.tar.gz
rng-tools-870f0d5d2f06d778a49e35d3a5f55183e5c9b9c0.tar.xz
rng-tools-870f0d5d2f06d778a49e35d3a5f55183e5c9b9c0.zip
rngd_linux: Modify write_wakeup_threshold to the fill threshold
The kernel.random.write_wakeup_threshold sysctl needs to be set to the point where we want poll() on the random device to wake up. This replaces the level check in ioctl() used during polling. Set it by default to 3/4 to the value of kernel.random.poolsize. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'rdrand_asm.S')
0 files changed, 0 insertions, 0 deletions