Re: workqueue thing

From: Mark Brown
Date: Wed Dec 23 2009 - 09:22:16 EST


On Wed, Dec 23, 2009 at 05:25:44AM -0500, Jeff Garzik wrote:
> On 12/23/2009 03:41 AM, Peter Zijlstra wrote:

>> So why are threaded interrupts not considered? Isn't the typical atomic
>> context of drivers the IRQ handler?

> I don't see a whole lot of driver authors rushing to support threaded
> interrupts. It is questionable whether the myriad crazy IDE interrupt

Threaded interrupts are fairly new and there's not an enormous win from
converting existing drivers at present, it's more likely that new code
will use them at the minute.

> routing schemes are even compatible. Thomas's Mar 23 2009 email says
> "the primary handler must disable the interrupt at the device level"
> That is not an easy request for all the hardware libata must support.

That requirement is no longer there since it was making threaded
interrupts useless for devices controlled over interrupt driven buses,
which are one of the major use cases for threaded IRQs.

None of which should be taken as a comment on the proposal under
discusssion.
--
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/