lkml.org 
[lkml]   [2003]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] autofs4 deadlock during expire - kernel 2.6
    From
    Date
    On Wed, 2003-09-24 at 15:01, Ian Kent wrote:
    > This is a corrected patch for the autofs4 daedlock problem I posted about
    > @@ -206,6 +207,11 @@
    >
    > interruptible_sleep_on(&wq->queue);
    >
    > + if (waitqueue_active(&wq->queue) && current != wq->owner) {
    > + set_current_state(TASK_INTERRUPTIBLE);
    > + schedule_timeout(wq->wait_ctr * (HZ/10));
    > + }
    > +

    this really really looks like you're trying to pamper over a bug by
    changing the timing somewhere instead of fixing it...

    also are you sure the deadlock isn't because of the racey use of
    interruptible_sleep_on ?
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 13:48    [W:4.651 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site