kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Can interrupt be missed between interrupt disable/enable window?
@ 2016-03-21  7:11 Vishwas Srivastava
  2016-03-21  8:14 ` Chetan Nanda
  2016-03-21  9:11 ` Crazyiop
  0 siblings, 2 replies; 3+ messages in thread
From: Vishwas Srivastava @ 2016-03-21  7:11 UTC (permalink / raw)
  To: kernelnewbies

Kernel code heavily uses the spinlock primitives
spin_lock_irqsave/restore plus local interrupt disabling/ enabling, all
across the code.
Is there a possibility that the interrupts might get
missed in this small window

disable interrupts
.............
.............                        <<<<<<<<<<<----------------------
interrupts is trigerred here

enable interrupts


specially when the irq
affinity has been set to the same core on which the
above mentioned code (disabling / enabling the irq's)
runs?
How the linux deals with this kind of scenario?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160321/7c643276/attachment.html 

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

end of thread, other threads:[~2016-03-21  9:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-21  7:11 Can interrupt be missed between interrupt disable/enable window? Vishwas Srivastava
2016-03-21  8:14 ` Chetan Nanda
2016-03-21  9:11 ` Crazyiop

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).