From mboxrd@z Thu Jan 1 00:00:00 1970 From: roszenrami@gmail.com (Rami Rosen) Date: Thu, 10 Sep 2015 23:09:41 +0300 Subject: When to use threaded interrupts? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Kosta, Just a wild assumption: maybe the cost of incurring context switches ? (comparing to tasklets) Best Regards, Rami Rosen http://ramirose.wix.com/ramirosen On 10 September 2015 at 20:49, Kosta Zertsekel wrote: > Hi guys, > > I hope I'm on right mailing list. :-) > I think I get the pro of using threaded interrupts - to decrease the maximum > interrupt latency on RT workloads and/or RT machines (servers, embedded, > etc.). > > Also, I see that in 4.2 there are only ~76 drivers that use threaded > interrupt: > ``` > $ git grep -l IRQ_WAKE_THREAD | sort | grep -v "\.h" | wc -l > 76 > ``` > > So, I'd like to ask: > - Why not **all** of the drivers use the threaded interrupts? > - What are the cons of the threaded interrupts? > > Thanks, > --- KostaZ > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies at kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >