GSoC 2026 Final Report: Modular Heap Allocators and TLSF Integration in RTEMS
GSoC 2026 Final Report: Modular Heap Allocators and TLSF Integration in RTEMS Project Summary My Google Summer of Code 2026 project focused on making the RTEMS heap architecture modular and adding the Two-Level Segregated Fit (TLSF) allocator as an alternative heap implementation. RTEMS (Real-Time Executive for Multiprocessor Systems) is a real-time operating system used in embedded and mission-critical systems. RTEMS currently uses its first-fit Heap Allocator for dynamic memory allocation. The goal of this project is to let RTEMS use different heap implementations through a common allocator interface without requiring application-level code to depend on a specific backend. TLSF was selected as the first alternative backend because it organizes free blocks using two-level size classes and bitmaps, allowing suitable blocks to be located without scanning a linear free list. ...