Re: [patch] voluntary-preempt-2.6.8.1-P0

Lee Revell
2004-08-16T04:37:21Z

On Mon, 2004-08-16 at 00:26, Ingo Molnar wrote:
> * Lee Revell <rlrevell@joe-job.com> wrote:
>
> > > > just to check this theory, could you make __check_and_rekey() an empty
> > > > function? This should still produce a working random driver, albeit at
> > > > much reduced entropy. If these latencies have a relationship to the
> > > > mlockall() issue then this change should have an effect.
> > >
> > > hm, could you disable the random driver in the .config rather? It seems
> > > that adding to the entropy pool (from hardirq context) alone is quite
> > > expensive too.
> > >
> >
> > Can this be disabled in the .config? I can't find an option for it.
>
> oh well, indeed it cannot be disabled.

Hmm, what happens if CONFIG_HW_RANDOM is set then? I would call it a
bug if having a hardware RNG didn't disable the software /dev/random
driver. This implies that the software RNG can be easily disabled.

Lee