lkml.org 
[lkml]   [2004]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:05    [W:0.020 / U:38.584 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site