[8251] in linux-scsi channel archive
queueing commands and IRQs?
daemon@ATHENA.MIT.EDU (Matthew Dharm)
Fri Feb 25 19:11:55 2000
Date: Fri, 25 Feb 2000 15:22:00 -0800 (PST)
From: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
To: The Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <Pine.LNX.4.10.10002251519560.7808-100000@ziggy.one-eyed-alien.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
I think I know the answer to this, but if I'm wrong all sorts of bad will
happen, so I figured I'd bother the experts to make sure. :)
When the SCSI layers calls a host's command queue function, is there any
possibility that the context will be interrupt context? Basically, I need
to know if I need spin_lock() or spin_lock_irqsave(). The non-irq safe
version is "much faster" (according to Linus in spinlock.txt).
Matt Dharm
--
Matthew Dharm Home: mdharm@one-eyed-alien.net
Engineer, Qualcomm, Inc. Work: mdharm@qualcomm.com
P: How about "Web Designer"?
DP: I'd like a name that people won't laugh at.
-- Pitr and Dust Puppy
User Friendly, 12/6/1997
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu