- list.c : 基础数据结构,是个带头节点的双向循环链表
- buddy.c : 伙伴系统的实现,包含移动合并实现的高阶申请函数
- main.c : 测试函数
- 注:BuddyInit和BuddyDestroy设计了alloc和release的函数指针,用户可以不局限于使用它来管理malloc内存,其他类型(只要映射虚拟地址)的内存管理,如共享类的内存(shmget等)也可以用
-
Notifications
You must be signed in to change notification settings - Fork 0
CallonHuang/BuddySystem
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published