Wolfgang Grandegger wrote:
Hello,

when I load rtai_lxrt.o on my PowerPC system, the system hangs after the
first lxrt_context_switch(), which happens in the migration handler
after switching to real-time. I do still not understand in detail what's
 going on there and therefore some brief description on how LXRT works
would help. Does some documentation exist? I'm epecially interrested to
know, what the purpose of the various kernel threads is, e.g. kthread_b,
kthread_m and thread_fun().


- Thread_fun is the wrapper for RTAI kernel tasks under lxrt
- kthread_m is responsible of creating deleting hard real time kernel threads, i.e what in kernel only schedulers is called a task. Taking care of the threads reservoir also. - kthread_b is responsible of the first scheduling of any Linux schedulable object passing to work into hard real time.

Paolo.


Reply via email to