On Mon, 15 Oct 2001, A V wrote:

>
> Hi Friends,
>
>    Do RTLinux changes memory management of Linux in
> anyway ? If anybody know Please help me.

It doesn't change memory management much, except that paging is NOT an
option from a real-time thread.

Basically, the idea is that you create real-time modules, and setup all
the memory they would ever need when they are running at normal (non
real-time) priority. This is typically in the init_module() function of a
module (which should never run at real-time priority since it's really
running on behalf of a user-process). So the idea is you allocate all the
memory you can in init_module(), then create a new thread at the end of
init_module() that runs in real-time and makes use of that memory.

Allocating new memory and/or doing anything to memory that you aren't sure
is locked into physical ram cannot be done from an rt-thread.

However, this begs the question.. what steps should a programmer take to
make sure a rt-thread's memory is locked into ram and not a candidate for
paging?

-Calin

>
> And one more doubt is how to get starting address of a
> module from another process or another realtime
> thread.
>
> Please help me...
>
> Thanks
> Venkat
>
> __________________________________________________
> Do You Yahoo!?
> Make a great connection at Yahoo! Personals.
> http://personals.yahoo.com
> -- [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/
>

-- [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/

Reply via email to