From: Ingo Molnar <mingo@elte.hu>
To: Arjan van de Ven <arjan@infradead.org>
Cc: linux-kernel@vger.kernel.org, mpm@selenic.com, akpm@linux-foundation.org
Subject: Re: [PATCH] random: add a way to get some random bits into the entropy pools early on
Date: Wed, 26 Nov 2008 03:51:01 +0100 [thread overview]
Message-ID: <20081126025101.GD31342@elte.hu> (raw)
In-Reply-To: <20081125132600.5112fb24@infradead.org>
* Arjan van de Ven <arjan@infradead.org> wrote:
> >From 5b3b09ac82316c2d4000460d586ebe59303c12c2 Mon Sep 17 00:00:00 2001
> From: Arjan van de Ven <arjan@linux.intel.com>
> Date: Tue, 25 Nov 2008 11:41:37 -0800
> Subject: [PATCH] random: add a way to get some random bits into the entropy pools early on
>
> currently the entropy pool gets seeded on the module_init() level, but there
> is at least one consumer of random bits (the oops ID that is printed as part
> of the oops).
> As a result of this, kerneloops.org is seeing a lot of oopses that all share
> the same 'random' number; which used to get filed away as "duplicate".
>
> This patch adds a function to the random driver so that various pieces of
> the kernel can add random bits (but not entropy!) to the pool, to avoid
> this dupicate ID problem.
>
> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
> ---
> arch/x86/kernel/apic.c | 7 +++++++
> drivers/char/random.c | 29 +++++++++++++++++++++++++++++
> include/linux/random.h | 3 +++
> kernel/panic.c | 1 +
> 4 files changed, 40 insertions(+), 0 deletions(-)
good catch ...
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
next prev parent reply other threads:[~2008-11-26 2:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 21:26 [PATCH] random: add a way to get some random bits into the entropy pools early on Arjan van de Ven
2008-11-25 21:41 ` Matt Mackall
2008-11-26 6:06 ` Arjan van de Ven
2008-11-26 1:09 ` Andrew Morton
2008-11-26 2:51 ` Ingo Molnar [this message]
2008-11-26 14:02 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081126025101.GD31342@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=arjan@infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox