[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/34507: bge(4) doesn't contribute to the rnd pool
The following reply was made to PR kern/34507; it has been noted by GNATS.
From: Michael van Elst <mlelstv%serpens.de@localhost>
Cc: mlelstv%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
Subject: Re: kern/34507: bge(4) doesn't contribute to the rnd pool
Date: Sun, 24 Feb 2008 15:57:59 +0100
On Sun, Feb 24, 2008 at 01:50:02PM +0000, Christoph Badura wrote:
> I've looked at adding rnd(4) support for bge before. I gave up because
> determining if the interrupt routine was called because of a interrupt
> from the device was expensive and, IIRC, not trivial without layering
If you allow for a little fuzz, that's not really a problem. You may
assume that the bge hardware caused the interrupt when packets are
received or transmitted.
However, depending on traffic and configuration, the interrupts are
actually polled at regular intervals. Not much entropy to be gained.
Michael van Elst
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |