Re: Linux 2.4.21-pre3-ac4

From: Ross Biro (rossb@google.com)
Date: Mon Jan 13 2003 - 15:36:57 EST


Alan Cox wrote:

>On Mon, 2003-01-13 at 19:32, Ross Biro wrote:
>
>
>>One thing we could do to solve this entire problem is wait for the
>>interrupt to finish before sending the command to the drive in the first
>>place. Basically in ide_do_request we just have to change
>>
>>
>
>
>
>
>> if (!masked_irq) {
>> disable_irq_sync(hwif->irq);
>> }
>>
>>
>
>You cannot disable an IRQ synchronously holding a spin lock taken by an
>IRQ handler
>
>

You are correct, you have to drop the spinlock first. And it doesn't
really help anyway.

    Ross

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:47 EST