Re: [PATCH] qla2xxx:use spin_lock_irqsave/spin_unlock_irqrestore in irq handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2009-04-13 at 19:40 +0900, Hisashi Hifumi wrote:
> Hi
> 
> I think spin_lock_irqsave/spin_unlock_irqrestore instead of spin_lock_irq/spin_unlock_irq
> should be used in IRQ handler.
> Following is the patch that fixes this issue.

I have to ask what the actual problem is?

The qla irq request is only done with IRQF_SHARED (for non msi), so you
know that interrupts are enabled when the handler is entered, so the non
flags versions are acting on this knowledge.

James


--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux