ax-alloc
ArceOS global memory allocator. Provides [GlobalAllocator] implementing [core::alloc::GlobalAlloc] for use with #[global_allocator].
The current backends are selected by feature: tlsf uses the rlsf crate, and
buddy-slab uses buddy-slab-allocator with per-CPU slab support.
Features
tlsf– TLSF byte and page allocation backed byrlsfbuddy-slab– buddy page allocation plus per-CPU slab allocationglobal-allocator– register the selected backend as#[global_allocator]tracking– allocation tracking (requiresax-percpu,axbacktrace)
License
GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0