[ILUG] Linux 0.01 Maintainer
mel at csn.ul.ie
Thu Sep 27 16:39:19 IST 2001
Mailed to the linux-kernel mailing list today with the subject "[PATCH]
Linux 0.01 disk lockup" was this little gem
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.
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 :-)
Random wisdom: rm with the su action pack is not a toy
More information about the ILUG