[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140305084506.GC2705@gmail.com>
Date: Wed, 5 Mar 2014 09:45:06 +0100
From: Ingo Molnar <mingo@...nel.org>
To: "H. Peter Anvin" <hpa@...ux.intel.com>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
Ted Ts'o <tytso@....edu>, "H. Peter Anvin" <hpa@...or.com>,
Thomas Gleixner <tglx@...utronix.de>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/3] random: If we have arch_get_random_seed*(), try it
before blocking
* H. Peter Anvin <hpa@...ux.intel.com> wrote:
> From: "H. Peter Anvin" <hpa@...ux.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@...ux.intel.com>
> Acked-by: Ingo Molnar <mingo@...nel.org>
> ---
> drivers/char/random.c | 32 ++++++++++++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
Reviewed-by: Ingo Molnar <mingo@...nel.org>
Thanks,
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists