Search Linux Wireless

Re: [PATCH 21/22] iwlwifi: change spin_lock to spin_lock_irqsave

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

 



On Fri, 2010-03-26 at 23:04 +0800, Guy, Wey-Yi wrote:
> There are two solutions.  The first is to take the
> lock with spin_lock_irqsave(). The second is to specify
> IRQF_DISABLED to request_irq() so that the kernel runs the entire
> interrupt routine with interrupts disabled. 

FYI. IRQF_DISABLED is not suggested to use together with IRQF_SHARED.
See the warning in request_threaded_irq().

Thanks,
-yi

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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux