public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.7-pre9..
@ 2001-07-20  5:17 Linus Torvalds
  2001-07-20  7:22 ` 2.4.7-pre9 Jens Axboe
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Linus Torvalds @ 2001-07-20  5:17 UTC (permalink / raw)
  To: Kernel Mailing List
  Cc: Alexander Viro, David S. Miller, Andrea Arcangeli, Alan Cox,
	David Woodhouse, linux-scsi, Andrew Morton


I'm getting ready to do a 2.4.7, but one of the fixes in 2.4.7 is a nasty
SMP race that was found and made it clear that using an old trick of
having a semaphore on the stack and doing "down()" on it to wait for some
event (that would do the "up()") was a really bad idea.

This kind of trick was used in the kernel vfork() implementation, and also
in block device "wait for request completion". I've fixed both with a new
and fairly simple "wait for completion" infrastructure, but I'd like
especially SCSI device driver writers to check their own drivers as a
result before I make the final 2.4.7.

I've changed all generic code, so drivers are all expected to compile and
work. However, some SCSI drivers use the semaphore trick in their own
code, and I've not mucked with that. It's not worth worrying about too
much, as the race is basically impossible to hit (famous last words), but
I wanted a heads-up and people to give it a quick look. I also wanted to
have people who actually have the hardware in question to verify that my
untested (but on the face of it obvious) changes are indeed working.

So please give it a quick spin,

		Linus


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

end of thread, other threads:[~2001-07-28  0:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-20  5:17 2.4.7-pre9 Linus Torvalds
2001-07-20  7:22 ` 2.4.7-pre9 Jens Axboe
2001-07-20  8:15   ` 2.4.7-pre9 Linus Torvalds
2001-07-20  8:26     ` 2.4.7-pre9 Jens Axboe
2001-07-20 16:42       ` 2.4.7-pre9 Linus Torvalds
2001-07-20 18:57         ` 2.4.7-pre9 Jens Axboe
2001-07-20 10:23 ` 2.4.7-pre9 David Woodhouse
2001-07-23 12:56 ` 2.4.7-pre9 Pavel Machek
2001-07-27 16:18   ` 2.4.7-pre9 Matthew Dharm
2001-07-27 17:46     ` 2.4.7-pre9 Linus Torvalds
2001-07-27 19:47       ` 2.4.7-pre9 Matthew Dharm
2001-07-27 21:00         ` 2.4.7-pre9 Linus Torvalds
2001-07-28  3:53         ` 2.4.7-pre9 David Woodhouse
2001-07-27 19:55           ` 2.4.7-pre9 Matthew Dharm

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