Re: Xenomai 4 Allocator Fragmentation Questions

Philippe Gerum <[email protected]> Tue, 28 Jul 2026 08:37:43 +0200
Newsgroups dev.linux.lists.xenomai
Message-ID <[email protected]>
Bryan Smith <[email protected]> writes:

> Kevin Strell <[email protected]> writes:

> struct evl_heap heap;
> ret = evl_new_mutex(&heap.lock, "heap:%.3d", getpid())
> /* ... */
> ret = evl_init_heap_unlocked(&heap, mem, size);

Passing a NULL format should make the core pick a unique default name
for this private element, e.g. evl_new_mutex(&heap.lock, NULL);

> rpmalloc did end up meeting real-time performance requirements with
> the evaluation that we had done, but I believe that we are going to
> abandon this evaluation since the libevl serialized heap API works well
> for our use case.

Ok, good news. Thanks for the feedback.

-- 
Philippe.