public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Q: natsemi.c spinlocks
@ 2000-12-23 17:45 Manfred
  2000-12-24  0:54 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Manfred @ 2000-12-23 17:45 UTC (permalink / raw)
  To: mulder.abg, jgarzik; +Cc: linux-kernel

Hi Jeff, Tjeerd,

I spotted the spin_lock in natsemi.c, and I think it's bogus.

The "simultaneous interrupt entry" is a bug in some 2.0 and 2.1 kernel
(even Alan didn't remember it exactly when I asked him), thus a sane
driver can assume that an interrupt handler is never reentered.

Donald often uses dev->interrupt to hide other races, but I don't see
anything in this driver (tx_timeout and netdev_timer are both trivial)


--
  Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2001-01-22  8:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-23 17:45 Q: natsemi.c spinlocks Manfred
2000-12-24  0:54 ` Andrew Morton
2000-12-24 11:15   ` Manfred
2001-01-21 14:38     ` Jeff Garzik
2001-01-21 14:43   ` [PATCH] " Jeff Garzik
2001-01-22  7:06     ` Donald Becker
2001-01-22  8:51       ` Manfred Spraul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox