Messages in this thread | | | Date | Mon, 16 Aug 2004 07:04:27 +0200 | From | Ingo Molnar <> | Subject | Re: [patch] voluntary-preempt-2.6.8.1-P0 |
| |
* Lee Revell <rlrevell@joe-job.com> wrote:
> > 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. > > OK, I tried the quick hack of just returning 0 before taking the > spinlock in extract_entropy, but this broke /dev/random which > prevented me from logging in. I guess we will have to properly fake > it here.
you should return nbytes, not zero.
Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |