RTEMS | Refactor the first-fit heap implementation for modular allocator support (#5620)

Sebastian Huber (@sebhub) gitlab at rtems.org
Tue Jul 7 09:06:25 UTC 2026




Sebastian Huber commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5620#note_153854


I am interested to get the first-fit heap allocator replaced with a Two-Level Segregated Fit allocator. Is there a project overview available?

Allocators usually don't implement the boundary condition. I added this some time ago for the libbsd, however, in hindsight this was a mistake. I would remove this feature from the first-fit heap implementation. The boundary allocation can fall back to an alignment of `MAX(alignment, boundary)`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5620#note_153854
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-5x8p6iwzdzmwssgp1kna9b9lf-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260707/d0407dd6/attachment-0001.htm>


More information about the bugs mailing list