CONFIG_PREEMPT_RT in real-world applications

From: Sven Geggus (sven-im-usenet_at_gegg.us)
Date: 10/27/05


Date: Thu, 27 Oct 2005 07:46:54 +0000 (UTC)

Hello embedded-linux folks,

I am kind of confuded how a piece of realtime code would look like using
Ingo Molnars CONFIG_PREEMPT_RT patch.

What would I need to make a process realtime. How would I be able to
generate a somewhat exact timing, e.g. for a control circuit. From the
perspective of a normal Linux system programming guy /dev/rtc comes
to mind.

For the realtime stuff, would it be enough to just use a negative nice-level
and a SCHED_FIFO policy?

Is there any kind of realtime programming Howto which I have not found
searching the web? Or is this just an exmple of another piece of fine but
undocumented work which is quite common in the Open-Source world?

Sven

-- 
                       This APT has Super Cow Powers.
					(apt-get --help on debian woody)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web


Relevant Pages

  • Re: [PATCH] Realtime LSM
    ... >> Here's an updated patch, ... selectively grants realtime capabilities to specific user groups ... patch has been extensively field tested by Linux audio users. ... "We would never have developed this LSM had there not been a serious ...
    (Linux-Kernel)
  • Re: [PATCH] Realtime LSM
    ... The patch is now against 2.6.9-pre2-mm4. ... selectively grants realtime capabilities to specific user groups ... +static int maxuid = 65535; ...
    (Linux-Kernel)
  • Re: [PATCH] Realtime LSM
    ... This patch was diff'ed against 2.6.8.1. ... selectively grants realtime capabilities to specific user groups ... +This Linux Security Module enables realtime capabilities. ... +static int maxuid = 65535; ...
    (Linux-Kernel)
  • Re: RT patch acceptance
    ... >> Sorry James, we were talking about hard realtime. ... > maximum latency during a stress test. ... I'm very well aware of what the actual current PREEMPT_RT patch is, ...
    (Linux-Kernel)
  • Re: [PATCH] Realtime LSM
    ... Your diff picked up a bogus patch in `security/Kconfig.orig', ... +This Linux Security Module enables realtime capabilities. ... +static int maxuid = 65535; ...
    (Linux-Kernel)