Messages in this thread | | | Date | Wed, 5 Mar 2014 09:45:06 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 3/3] random: If we have arch_get_random_seed*(), try it before blocking |
| |
* H. Peter Anvin <hpa@linux.intel.com> wrote:
> From: "H. Peter Anvin" <hpa@linux.intel.com> > > 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. > > Signed-off-by: H. Peter Anvin <hpa@linux.intel.com> > Acked-by: Ingo Molnar <mingo@kernel.org> > --- > drivers/char/random.c | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+)
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Thanks,
Ingo
| |