Skip to content

Commit 5dd7d49

Browse files
Update p2-memalloc.md
1 parent 8424530 commit 5dd7d49

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

lec5/p2-memalloc.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,10 +401,17 @@ http://en.wikipedia.org/wiki/Buddy_memory_allocation -->
401401
* [buddy_system_allocator](https://crates.io/crates/buddy_system_allocator):用Rust写的伙伴系统算法
402402
* [buddy-system-in-ucore-test](https://github.com/ucore-test/buddy-system-in-ucore-test#buddy-system-in-ucore-test):能够在c语言程序中调用buddy-system的接口
403403

404+
405+
406+
<!--
407+
408+
404409
---
405410
406411
##### 课后练习
407412
413+
//算法不对
414+
408415
用C或Rust语言实现如下的改进伙伴系统。([已有参考实现](https://github.com/scPointer/advanced_buddy_system))
409416
410417
修改伙伴系统分配操作:
@@ -414,6 +421,8 @@ http://en.wikipedia.org/wiki/Buddy_memory_allocation -->
414421
415422
分析“改进伙伴系统”的存储利用率和分配释放开销。
416423
424+
-->
425+
417426
---
418427

419428
**提纲**

0 commit comments

Comments
 (0)