lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID:  <4976B3D3.70501@shaw.ca>
Date:	Tue, 20 Jan 2009 23:34:11 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	linux-kernel@...r.kernel.org
Cc:	linux-kernel@...r.kernel.org
Subject:  Re: disabling interupts

linux wrote:
> 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

You haven't provided nearly enough details in order to answer this 
question. What kind of frame grabber, what driver is it using? Where do 
you think the frames are being dropped?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ