[8699] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Q: is sg_poll SMP safe?

daemon@ATHENA.MIT.EDU (Manfred Spraul)
Sun Apr 23 11:41:35 2000

Message-ID: <39030FC0.66199545@colorfullife.com>
Date:	Sun, 23 Apr 2000 16:59:12 +0200
From: Manfred Spraul <manfreds@colorfullife.com>
MIME-Version: 1.0
To: linux-scsi@vger.rutgers.edu
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I started to review drivers for the new 2.4 SMP locking changes:

file_operations.{read,write,poll,readv,writev,fsync}

are called without lock_kernel().

I checked around 50 drivers, but

	sg_poll()

is too complicated for an outsider. Could you double check that it can
run without the big kernel lock, or add lock_kernel calls?

TIA,
	Manfred
P.S.: Please cc, I'm not subscribed to linux-scsi



-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post