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

From: Rusty Russell
Date: Mon Dec 29 2003 - 23:54:59 EST


On Mon, 29 Dec 2003 11:43:29 -0800 (PST)
Linus Torvalds <torvalds@xxxxxxxx> wrote:
> > question; which lock prevents someone else claiming the irq and making
> > it unsharable/unclaimable between can_request_irq() and the eventual
> > request_irq() ????
>
> Nothing. It never did. This is basically a heuristic: "find the irq that
> looks the least used".

I just worry about other people using it. I'd prefer "irq_looks_free()",
but since it's x86-specific it's not a big issue.

Rusty.
--
there are those who do and those who hang on and you don't see too
many doers quoting their contemporaries. -- Larry McVoy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/