Re: Add support for checking before-the-fact whether an IRQ is

From: Arjan van de Ven
Date: Mon Dec 29 2003 - 14:20:01 EST


On Mon, 2003-12-29 at 19:18, Linux Kernel Mailing List wrote:
> ChangeSet 1.1552, 2003/12/29 10:18:11-08:00, torvalds@xxxxxxxxxxxxx
>
> Add support for checking before-the-fact whether an IRQ is
> already registered or not. The x86 PCI layer wants this for
> its availability testing.
>
> Doing a request_irq()/free_irq() pair to check this condition
> like we used to do can lock the machine if the irq happens to
> be screaming.


question; which lock prevents someone else claiming the irq and making
it unsharable/unclaimable between can_request_irq() and the eventual
request_irq() ????

Attachment: signature.asc
Description: This is a digitally signed message part