Skip to content

arceos-org/axallocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axallocator

Crates.io Documentation License

Various allocator algorithms behind a unified interface for no_std environments.

Allocator types

Features

Feature Description
bitmap Bitmap-based page allocator
tlsf TLSF byte allocator
slab Slab byte allocator (uses ax_slab_allocator)
buddy Buddy byte allocator
allocator_api Implement Allocator (nightly)
page-alloc-* Page size / range (e.g. page-alloc-256m)
axerrno AxError integration

Default: page-alloc-256m. Use full for all allocators and allocator_api.

Usage

[dependencies]
axallocator = { version = "0.2", features = ["slab", "buddy"] }

License

GPL-3.0-or-later OR Apache-2.0 OR MulanPSL-2.0. See LICENSE.

About

Various allocator algorithms in a unified interface.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages