[lkml]   [2004]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.4]

    * Ingo Molnar <> wrote:

    > the BKL can generate arbitrary latencies. Anything up to 100-200
    > milliseconds. Rui, Florian, could you try the quick hack below?

    hm, this alone probably wont work, because the audio layer does
    unlock_kernel() in many places.

    could you try another hack in addition to the ioctl.c hack, save the
    attached script, and do this in your Linux source tree:

    cd sound
    ~/changeall-tree "unlock_kernel()" ""
    ~/changeall-tree "lock_kernel()" ""

    (in strictly this order.) This gets rid of the BKL from the sound
    subsystem in quite drastic ways... Totally untested, so be careful ...



    if [ $# -lt "2" ]; then
    echo 'usage: changeall <from> <to>'
    exit -1;

    echo "changing $N => $N"

    for N in `find . -type f`; do
    echo $N;
    cat $N | sed "s/$1/$2/g" > .tmp; mv .tmp $N;
     \ /
      Last update: 2005-03-22 14:07    [W:0.021 / U:0.068 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site