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

Ingo Molnar
2004-08-16T04:25:30Z

* 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. Then i'd suggest to return early
from extract_entropy(), without doing anything. That is the function
that seems to introduce the worst overhead.

Ingo