Hello,

I am trying to create a doubly linked list in order to keep track of timers on my 
system. It is similar to the way they do it in the Linux kernel, but obviously much 
faster polling for RT purposes. Certain function calls in my API will allocate memory 
for a structure and then call a function to isert this structure intot he list.  I 
tried using:

my_struct_t my_struct;
my_struct = kmalloc( sizeof(my_struct_t), GFP_ATOMIC); 

within a periodic RT task and it appears to crash my machine. 

Is this supposed to work in RTLinux?? If not how do I get free memory?? Do I have to 
set aside a free block of ram and create my own memory allocation algorithms?? Does 
RTLinux have a preferred mechanism?

Thanks,

~Ken

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