Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入slab分配器 #523

Closed
fslongjin opened this issue Feb 18, 2024 · 0 comments
Closed

引入slab分配器 #523

fslongjin opened this issue Feb 18, 2024 · 0 comments
Assignees
Labels
A-mm Area: 内存管理子系统 enhancement New feature or request In-progress

Comments

@fslongjin
Copy link
Member

您的功能请求是否与问题/故障有关?请描述一下。
目前所有的内存分配都是使用buddy分配器的,空间浪费严重。

描述您想要的解决方案
为了降低内存碎片,需要引入slab分配器。
经过简单的搜索,我发现这个库: https://github.com/gz/rust-slabmalloc 貌似还可以。
但是需要对其正确性和速度进行进一步的测试。
然后把它集成到内核中。

@fslongjin fslongjin added the enhancement New feature or request label Feb 18, 2024
@fslongjin fslongjin self-assigned this Feb 18, 2024
@fslongjin fslongjin added the A-mm Area: 内存管理子系统 label Mar 23, 2024
@fslongjin fslongjin added this to the DragonOS 0.1.10 milestone Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-mm Area: 内存管理子系统 enhancement New feature or request In-progress
Projects
None yet
Development

No branches or pull requests

1 participant