All of lore.kernel.org
 help / color / mirror / Atom feed
* disabling interupts
@ 2009-01-20 17:31 linux
  2009-01-21  5:34 ` Robert Hancock
  0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2009-01-20 17:31 UTC (permalink / raw)
  To: linux-kernel

Please advise if this question is OT.  (If so, where can I post it or 
read more about said topic?)

I have an application that grabs frames from a frame grabber.  It is 
dropping frames, sometimes, 30 frames at a time.  I suspect this is 
occuring due to background tasks or something like that interupting the 
app.   In the future I may go to a hard RT linux, but for now, I just 
have time to try to reduce the number and frequency of frame drops. 

I read on some linux websites that one can disable interrupts to 
increase performance and/or reduce latencies. 

My questions are

1.  Is this an acceptable practice?  If not, what are my other options?

2.  How can I do this?  

Would I use:
    void local_irq_save(unsigned long flags);
    void local_irq_restore(unsigned long flags);


3.  What interupts should I consider disabling?

Ed

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

end of thread, other threads:[~2009-01-21  5:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20 17:31 disabling interupts linux
2009-01-21  5:34 ` Robert Hancock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.