I am planning on developing a simple dynamic memory allocator for 
use in one of my RT-Linux projects.  Before I begin, I was 
interested to see if anyone else has already done work on this?

The intention is not to allocate dynamic sized blocks of data, but 
facilitate a pool of statically assigned but dynamically issued 
blocks of memory.

In case you are still reading this message (and thus mildly 
interested in what I am doing).  I am creating an arbitrary signal 
generator inside a RT-Linux process.  This signal generator must 
be able to accept dynamically sized waveforms (waveforms of 
different lenghts).

I intend to follow the heap style approach, where RT-linux process 
will have "page" of "heap memory" and divide the heap memory into 
"blocks".  (Say 100byte blocks of memory in 100K heap leaving 1K 
blocks of memory to be allocated).  Then using a linked list 
approach, the block will be assigned to an "allocated" or 
"unallocated" list.  As memory is "assigned" the requested number 
of memory blocks will be moved from the "unallocated" to the 
"allocated" list.  Abvoiusly the user of the data will need to 
understand the "block" size limits when accessing the data, but 
this is as expected.
-- [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/rtlinux/

Reply via email to