Hi. I am using RTAI and need a replacement for malloc/free (actually, new/delete
operators). I suppose malloc uses linked lists of small blocks and so it leads
to fragmentation related problems and eventual performance loss due to it having
to traversing linked list after a block of adequate size. I am thinking of using
memory pools and overload new/delete to use the pools but I would like to listen
to alternate ideas if available. I learned of hoard but I suppose it suffers of
malloc's very same problems in uniprocessor systems.
BTW my stuff is going to run in userspace under lxrt so kmalloc/kfree are out of
question AFAIK.
Note: I am not very experienced on Linux system programming so the assumptions
above come from a guy who's developed DOS like systems. Please correct me should
I making wrong assumptions.
TIA.
Elder.