9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Deadlock in fileserver lance driver
@ 1995-08-09  7:04 dhog
  0 siblings, 0 replies; 2+ messages in thread
From: dhog @ 1995-08-09  7:04 UTC (permalink / raw)


I have encountered a deadlock in the lance driver for the fileserver
kernel.  It seems to be aggravated by our slow jukebox :-)  Anyway,
here is my fix (a similar change should be made to the other fs kernels).

diff /n/dump/1995/0806/sys/src/fs/ss/lance.c /sys/src/fs/ss/lance.c
212a213
> 			qunlock(c);
213a215
> 			qlock(c);
215a218
> 			qunlock(c);
216a220
> 			qlock(c);






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Deadlock in fileserver lance driver
@ 1995-08-09 14:55 jmk
  0 siblings, 0 replies; 2+ messages in thread
From: jmk @ 1995-08-09 14:55 UTC (permalink / raw)


I'm not sure what the locks are doing there at all, I don't know what they
are protecting.

The magnum fs kernel was cloned from the power kernel on March 13 1992 and
the power kernel had the locks in at that time. They disappeared from the power
kernel on May 15th 1992. The sparc kernel was cloned from the magnum kernel on
August 16th 1992 and /sys/src/fs/ss/lance.c has not changed since.

------ original message follows ------

>From cse.psu.edu!9fans-outgoing-owner Wed Aug  9 03:40:18 EDT 1995
Received: by psuvax1.cse.psu.edu id <34089>; Wed, 9 Aug 1995 03:22:50 -0400
Received: from plan9.cs.su.oz.au ([129.78.96.3]) by psuvax1.cse.psu.edu with SMTP id <34090>; Wed, 9 Aug 1995 03:19:02 -0400
Date:	Wed, 9 Aug 1995 03:04:59 -0400
From:	dhog@plan9.cs.su.oz.au
To:	9fans@cse.psu.edu
Subject: Deadlock in fileserver lance driver
Message-Id: <95Aug9.031902edt.34090@psuvax1.cse.psu.edu>
Sender: owner-9fans@cse.psu.edu
Precedence: bulk
Reply-To: 9fans@cse.psu.edu

I have encountered a deadlock in the lance driver for the fileserver
kernel.  It seems to be aggravated by our slow jukebox :-)  Anyway,
here is my fix (a similar change should be made to the other fs kernels).

diff /n/dump/1995/0806/sys/src/fs/ss/lance.c /sys/src/fs/ss/lance.c
212a213
> 			qunlock(c);
213a215
> 			qlock(c);
215a218
> 			qunlock(c);
216a220
> 			qlock(c);







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-08-09 14:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-08-09  7:04 Deadlock in fileserver lance driver dhog
1995-08-09 14:55 jmk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).