mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Long playing threaded interrupt handlers
@ 2010-06-02  7:09 Dmitry Torokhov
  2010-06-02  7:19 ` Thomas Gleixner
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry Torokhov @ 2010-06-02  7:09 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: LKML

HI Thomas,

The threaded IRQ infrastructure that went into the kernel is extremely
helpful, however in the input land there are quite a few devices that
require polling after an IRQ has been raised.

Currently most such drivers, instead of threaded interrupts, still use
[delayed] work to do the polling, and still face the issue of shutting
down interrupt and scheduled work in a raceless way leaving irq enable
counter balanced. Is it allowed to have threaded ISR execute for
extended a amount of time, and do the required polling, provided that
ISR does certain checks to finish promply in case when we unbind the
driver or try to suspend the device?

Thanks.

-- 
Dmitry

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-06-02  7:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-02  7:09 Long playing threaded interrupt handlers Dmitry Torokhov
2010-06-02  7:19 ` Thomas Gleixner
2010-06-02  7:45   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®