From: Arjan van de Ven <arjan@infradead.org>
To: Matt Mackall <mpm@selenic.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org
Subject: Re: [PATCH] random: add a way to get some random bits into the entropy pools early on
Date: Tue, 25 Nov 2008 22:06:27 -0800 [thread overview]
Message-ID: <20081125220627.4a07f6b7@infradead.org> (raw)
In-Reply-To: <1227649282.3196.3.camel@calx>
On Tue, 25 Nov 2008 15:41:22 -0600
Matt Mackall <mpm@selenic.com> wrote:
> >
> > 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.
>
> This appears to be equivalent to making random initialize earlier,
> except with more code?
well sort of kinda, but arbitrarily early (eg I made the oops ID just
call this whenever it's called first)
>
> If we're going down a route like this, I'd like to see the ability to
> actually mix in data (ie MAC addresses, DMI data, etc.) rather than
> just timing.
I'll make a second patch for that; it does make sense to do this,
but it also makes sense to just have a "just do the time" helper
--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
next prev parent reply other threads:[~2008-11-26 6:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 21:26 Arjan van de Ven
2008-11-25 21:41 ` Matt Mackall
2008-11-26 6:06 ` Arjan van de Ven [this message]
2008-11-26 1:09 ` Andrew Morton
2008-11-26 2:51 ` Ingo Molnar
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=20081125220627.4a07f6b7@infradead.org \
--to=arjan@infradead.org \
--cc=akpm@linux-foundation.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
all inboxes | Powered by JetHome®