Messages in this thread | | | Date | Fri, 14 Sep 2012 10:02:16 +0800 | Subject | Question on irq autoprobe | From | Ming Lei <> |
| |
Hi,
I see the below comments on probe_irq_off:
* BUGS: When used in a module (which arguably shouldn't happen) * nothing prevents two IRQ probe callers from overlapping. The * results of this are non-optimal. */
But from the code of probe_irq_on and probe_irq_off, the mutex of probing_active is held during the whole irq probe procedure, so I don't understand why the above said that 'nothing prevents two IRQ probe callers from overlapping", and why isn't the mutex of probing_active enough to avoid the overlapping?
Thanks, -- Ming Lei
| |