feat(mm): 添加slab内存分配器 (#683)

feat(mm): 添加slab内存分配器 
---------

Co-authored-by: longjin <longjin@DragonOS.org>
This commit is contained in:
laokengwt
2024-04-15 12:51:14 +08:00
committed by GitHub
parent c719ddc631
commit ceeb2e943c
9 changed files with 1250 additions and 145 deletions

View File

@ -0,0 +1,16 @@
[package]
name = "slabmalloc"
version = "0.11.0"
edition = "2018"
[features]
unstable = []
default = [ "unstable" ]
[dependencies]
log = "0.4"
[target.'cfg(unix)'.dev-dependencies]
rand = "0.8"
env_logger = "0.9"
spin = "0.9.8"