#heap-allocator #allocator #osdk-heap-allocator

nightly osdk-heap-allocator

The default slab-based heap allocator shipped with OSDK

2 unstable releases

new 0.15.0 May 13, 2025
0.14.1 Mar 29, 2025

#351 in Memory management

Download history 122/week @ 2025-03-29 12/week @ 2025-04-05 1/week @ 2025-04-12 2/week @ 2025-05-03 110/week @ 2025-05-10

112 downloads per month

MPL-2.0 license

1MB
21K SLoC

osdk-heap-allocator

This is the default slab-based global heap allocator shipped with OSDK. It relies on the slab mechanism in OSTD to provide a fast, memory-efficient implementation of a global heap allocator for OS kernels. It also features per-CPU caches for scalable allocations.

This crate is part of the Asterinas project.

Dependencies

~4–6MB
~116K SLoC