Re: [RFC] genirq: Flush the irq thread on synchronization

From: Ido Yariv
Date: Tue Dec 06 2011 - 18:28:59 EST


Hi Thomas,

On Mon, Dec 05, 2011 at 10:55:01PM +0100, Thomas Gleixner wrote:
> Does the following (untested) patch solve your issues?

I briefly tested this patch and it appears to also solve the issues I
mentioned.

I think both solutions would work. The only drawbacks I see in using
this patch over the other one are that this patch involves a bit more
locking in synchronize_irq() and irq_finalize_oneshot() (for non-oneshot
irqs), and that the oneshot mechanism is used for non-oneshot threads.

Thanks,
Ido.
--
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/