[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] Process with variable period



I am attempting to create an RT-Linux application with periodic real-time
output.  The output rate is variable based on feedback from the user. 
Currently I have one RT-task that awaits input from the user task and
another that is actually responsible for output.  When the first RT-task
receives an adjustment request, it destroys the output task and recreates
it with the new period.  It seems to work well, except for the occasional
message similar to :

  "kmalloc called nonatomically by interrupt 00000000010"

This hasn't caused any problems, but certainly seems like it could!  So, a
few questions:

1. What are the implications of creating one RT-task inside another?

2. Is there a way to adjust the priority of a running RT-task without
   destroying & recreating it?

3. Is there a better way to do this?


Thanks in advance for responses,
Gabe Jones

--              
gabriel@cs.msstate.edu                                
http://www.cs.msstate.edu/~gabriel/

--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/