[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] voluntary-preempt-

* Lee Revell <> 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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean