The situation I was describing exists in the scsi code of the 2.1.88
kernel. The function do_sd_request in drivers/scsi/sd.c makes a call
to scsi_allocate_device in a section of code protected by a
spin_lock_irqsave(&io_request_lock, flags). scsi_allocate_device then
does the save_flags, restore_flags which turns interupts back on. On my
system this results in a hang when there is an ide interupt in
the section where interupts should be off because the ide interrupt
handler tries a spin_lock_irqsave(&io_request_lock, flags).
chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu