axalloc 0.2.2-hv.5

ArceOS global memory allocator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# axalloc

ArceOS global memory allocator. Provides [`GlobalAllocator`] implementing [`core::alloc::GlobalAlloc`] for use with `#[global_allocator]`.

Uses the [axallocator](https://docs.rs/axallocator) crate for the underlying byte and page allocators (TLSF, slab, buddy, bitmap).

## Features

- `tlsf` (default) – TLSF byte allocator
- `slab` – slab byte allocator
- `buddy` – buddy byte allocator
- `page-alloc-256m` (default), `page-alloc-4g`, `page-alloc-64g` – page allocator capacity
- `tracking` – allocation tracking (requires `percpu`, `axbacktrace`)

## License

GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0