Hello to you all!

First my honest congratulations for the great work you did.

I'm unfortunately no RT-Linux user yet, but I follow the discussions
to get an impression of the problems arising when delving into.

Now I have a question about an email from Jens.

Jens wrote:

> From: SteenbeckDigital <[EMAIL PROTECTED]>
> Subject: [rtl] do not call Linux from within RT-LinuX
 
> I would like to answer round about 15000 
> questions here. All of them looking like this:
> ( I use the word LinuX for the non RT part)
> 
> I use ((any LinuX function)) from within my 
> RT process and get ((any smptom)). Help me!!.
> 
> Please fill in the symptom and the LinuX function you like :-).
> Many Linux function call sti/cli or so to do atomic things.
> Any call to LinuX from within a RtLinuX call break this!!!
> 
> Example:
> 
> LinuxCall{
>    cli();
>    do( not )disturb;
>    sti();
> }
> 
> If this gets called from LinuX it can be interrupted between 
> cli/sti by any RTprocess. So if the RTprocess calls this 
> again the atomic call is broken. So I put this on my 
> "Things not to do" list and I'm fine with RTlinuX.
> 
> Jens Michaelsen

I thought, that the cli()/sti() in normal kernel is mapped into an
`interruptible' CLI()/STI(), which will be executed, as soon as no 
__OTHER__ Rt-Linux process with higher prio runs.

This means for me: If I call any routine, which doesn't actively suspend
my process, in an RT-module, this routine will be executed with the prio
I have asociated to the process. If I run it as RT-process, it will run
to the end, without being suspended, not even by CLI()/STI()?

Could You be so kind to give me hints, as to where I am wrong, and where
to look for the code which shows my error?

Thomas

------------------------------------------------------------------------
Thomas Fruehbeck                Alcatel Austria AG
Tel: +43 1 29121 237            A-1210 Ruthnergasse 1-7, Vienna, Austria
Fax: +43 1 2921452              [EMAIL PROTECTED]
------------------------------------------------------------------------
 
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to