Re: timing out on a semaphore

Tim Waugh (twaugh@redhat.com)
Tue, 27 Feb 2001 14:39:42 +0000


--rVbcdceMkFY6fDyG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 :(
>=20
> I'd suggest you slot a
>=20
> sema_init(&port->physport->ieee1284.irq, 1);
>=20
> 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.
*/

--rVbcdceMkFY6fDyG
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6m7wtONXnILZ4yVIRAmlTAJ9DtkvvtSqbqTBjX13xJ2BXV9cynQCeLUYI
BAKfhIMbqucDaigKWm4Ax88=
=+lLK
-----END PGP SIGNATURE-----

--rVbcdceMkFY6fDyG--
-
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/