linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Clarification about IRQ terminology
@ 2016-10-06  6:07 Joel Fernandes
  2016-10-06  9:07 ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 5+ messages in thread
From: Joel Fernandes @ 2016-10-06  6:07 UTC (permalink / raw)
  To: linux-rt-users; +Cc: Thomas Gleixner, Linus Walleij

Hi,

Recently had a discussion with a colleague about hard vs soft irqs. We
also discussed process vs interrupt context and I had some confusion
about when to (and when not to use) the terms hard irq handler.

Just to clarify and use the right terminology, I'd like to understand
whether the "hard" in hard irq implies interrupt context?

To further confuse the matter, with CONFIG_PREEMPT_RT_FULL, all IRQs
previously executing in interrupt context are now threaded. Then in
this scenario, is it Ok to still call these irq handlers as hard irq
handlers or should they now be strictly called threaded interrupt
handlers now that the same handlers are forced to execute in a thread?
If the "hard" in hard irq means hardware interrupt, then it would make
sense to still call them hardirq handlers even though they're now
executing in process context?

So basically my questions are:
1. Does hard in hard irq mean hardware interrupt or does it imply
interrupt context?
2. Can the terms "hard irq handler" still be used with CONFIG_PREEMPT_RT_FULL?

Thanks a lot,

Joel

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

end of thread, other threads:[~2016-10-07 15:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06  6:07 Clarification about IRQ terminology Joel Fernandes
2016-10-06  9:07 ` Sebastian Andrzej Siewior
2016-10-07  3:15   ` Joel Fernandes
2016-10-07 10:32     ` Sebastian Andrzej Siewior
2016-10-07 15:57       ` Joel Fernandes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).