From: Mel (mel at domain csn.ul.ie)
Date: Thu 27 Sep 2001 - 16:39:19 IST
Mailed to the linux-kernel mailing list today with the subject "[PATCH]
Linux 0.01 disk lockup" was this little gem
--Begin Extract--
Hi.
Linux 0.01 has a bug in disk request sorting - when interrupt happens
while sorting is active, the interrupt routine won't clear do_hd - thus
the disk will stay locked up forever.
Function add_request also lacks memory barriers - the compiler could
reorder writes to variable sorting and writes to request queue - producing
race conditions. Because gcc 1.40 does not have __asm__("":::"memory"), I
had to use dummy function call as a memory barrier.
The following patch fixes both issues.
[PATCH]
--End Extract--
I heard of people working on older kernels, but this is pushing it a wee
bit. Linus asked him did he want to be the official maintainer for the
0.01.xx kernels :-)
-- Mel Random wisdom: rm with the su action pack is not a toy
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:12:21 GMT