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

From: Ingo Molnar
Date: Sun Aug 15 2004 - 23:26:35 EST



* Lee Revell <rlrevell@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/