Re: ARM Linux Suitability for Real-time Application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 22, 2005 at 12:55:45PM +0400, Eugeny S. Mints wrote:
> The bottom line is that interrupt and preemption latencies for a kernel 
> with RT patch are inbetween 15-150us. But of course even with real-time 
> patch you have to perform _real_ fine tuning of your system to achieve 
> such hard constraints you identified.

If you're just after some background process to run off interrupts with
minimal interrupt latency, the good news is that you don't have to modify
the kernel on ARM, and you certainly don't need any RT patches.

If you use the FIQ, then your FIQ latency will be the time it takes the
CPU to enter your FIQ function.  Since the kernel _never_ disables FIQs
in any way, FIQs have ultimate priority over everything else in the
system.

This does mean that you have to be careful if you want data to cross
the boundary between FIQ and the rest of the kernel since you can't use
any of the normal locking functions from FIQ mode.  Also, note that FIQ
code can not reside in modules.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux