On 14 Oct, "Himanshu Gupta" wrote:

> I have few more basic doubts.well..we load RT tasks as Loadable 
> kernel module...so it means RT Tasks are running as Kernel level 
> threads(is this right????).... if not in what way it they are 
> different????

Depends on where in the kernel you mean.  There isn't really
much formal partitioning between Linux and RTL, so if you're
looking for a formal demarcation, you're not going to find
it.  The rest of Linux is run as the lowest priority thread,
if that helps you think about it.

> How is the RTLInux kernel comin into picture and why these Tasks 
> are gettin scheduled  accordin to RTLinux scheduling algo and not 
> Linux scheduling algo???

RTL grabs interrupts (which gives it control) and hands them
to the Linux thread when it sees fit.  Threads are created
and scheduled by RTL because you tell RTL to create and
schedule them, all stemming from the module_init() routine.
The normal Linux scheduler never knows anything about them
because they're not created with Linux system calls.

> the other thing i'd like to know is that RT Tasks are having 
> statically allocated address space...where actually they are on 
> systems????

Why does it matter?  The kernel module loader puts them
wherever it wants them.  They don't get swapped out, if
that's what you're asking.  Swapping and real-time don't mix
well.

Dennis
_______________________________________________
Rtl mailing list
[EMAIL PROTECTED]
http://www2.fsmlabs.com/mailman/listinfo.cgi/rtl

Reply via email to