summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorH. Peter Anvin2014-03-18 00:36:29 +0100
committerTheodore Ts'o2014-03-20 03:22:06 +0100
commit331c6490c7f10dcf263712e313b7c0bc7fb6d77a (patch)
tree30249a0a1a7dc7ea7538fe622a4303bb26853f32 /arch/s390
parentrandom: Use arch_get_random_seed*() at init time and once a second (diff)
downloadkernel-qcow2-linux-331c6490c7f10dcf263712e313b7c0bc7fb6d77a.tar.gz
kernel-qcow2-linux-331c6490c7f10dcf263712e313b7c0bc7fb6d77a.tar.xz
kernel-qcow2-linux-331c6490c7f10dcf263712e313b7c0bc7fb6d77a.zip
random: If we have arch_get_random_seed*(), try it before blocking
If we have arch_get_random_seed*(), try to use it for emergency refill of the entropy pool before giving up and blocking on /dev/random. It may or may not work in the moment, but if it does work, it will give the user better service than blocking will. Reviewed-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'arch/s390')
0 files changed, 0 insertions, 0 deletions