lkml.org 
[lkml]   [2004]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    SubjectRe: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U6
    From
    Date
    On Tue, 2004-10-19 at 16:46, Ingo Molnar wrote:
    > * Ingo Molnar <mingo@elte.hu> wrote:
    > i've re-released the patch because shortly after releasing it i found a
    > false-positive in the deadlock-detector that was triggering in oowriter.

    Hit and converted another one. There are more, but they need more
    modifications as they don't have a condition to wait for and therefor
    must be converted to use the completion API, which must be extended to
    provide completion_timemout() first.

    tglx



    diff --exclude='*~' -urN 2.6.9-rc4-mm1-RT-U6/net/sunrpc/clnt.c 2.6.9-rc4-mm1-VP-U4-LRT1/net/sunrpc/clnt.c
    --- 2.6.9-rc4-mm1-RT-U6/net/sunrpc/clnt.c 2004-10-12 09:32:23.000000000 +0200
    +++ 2.6.9-rc4-mm1-VP-U4-LRT1/net/sunrpc/clnt.c 2004-10-19 16:16:29.000000000 +0200
    @@ -231,7 +231,8 @@
    clnt->cl_oneshot = 0;
    clnt->cl_dead = 0;
    rpc_killall_tasks(clnt);
    - sleep_on_timeout(&destroy_wait, 1*HZ);
    + wait_event_timeout(destroy_wait,
    + atomic_read(&clnt->cl_users) > 0, 1*HZ);
    }

    if (atomic_read(&clnt->cl_users) < 0) {
    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:4.105 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site