All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tim Waugh <twaugh@redhat.com>
To: Andrew Morton <andrewm@uow.edu.au>
Cc: linux-kernel@vger.kernel.org
Subject: Re: timing out on a semaphore
Date: Tue, 27 Feb 2001 14:39:42 +0000	[thread overview]
Message-ID: <20010227143942.C13721@redhat.com> (raw)
In-Reply-To: <20010225224039.W13721@redhat.com> <3A9990EF.8D4ECF49@uow.edu.au>
In-Reply-To: <3A9990EF.8D4ECF49@uow.edu.au>; from andrewm@uow.edu.au on Sun, Feb 25, 2001 at 11:10:39PM +0000

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

On Sun, Feb 25, 2001 at 11:10:39PM +0000, Andrew Morton wrote:

> I think there might be a bogon in __down_interruptible's
> handling of the semaphore state in this case.  I remember
> spotting something a few months back but I can't immediately
> remember what it was :(
> 
> I'd suggest you slot a
> 
> 	sema_init(&port->physport->ieee1284.irq, 1);
> 
> into parport_wait_event() prior to adding the timer.  If that
> fixes it I'll go back through my patchpile, see if I can
> resurrect that grey cell.

I haven't been able to confirm that it works around it (can't repeat
the problem here), but what would you say if I said it did? ;-)

Tim.
*/

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

  reply	other threads:[~2001-02-27 14:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-25 22:40 timing out on a semaphore Tim Waugh
2001-02-25 22:53 ` Davide Libenzi
2001-02-25 23:10 ` Andrew Morton
2001-02-27 14:39   ` Tim Waugh [this message]
2001-02-27 22:40     ` Andrew Morton
2001-02-27 23:28       ` Tim Waugh
2001-02-27 23:35         ` Davide Libenzi
2001-02-26  9:19 ` Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010227143942.C13721@redhat.com \
    --to=twaugh@redhat.com \
    --cc=andrewm@uow.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.