![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OS
文章平均质量分 77
zztant
这个作者很懒,什么都没留下…
展开
-
完全不懂Minix3---1
2.5. Overview of Processes in MINIX 3 Having completed our study of the principles of process management, interprocess communication, and scheduling, we can now take a look at how they are applied翻译 2013-12-03 20:23:21 · 427 阅读 · 0 评论 -
函数malloc一个简单的实现
网上对sbrk到底是system call 还是 library function说法不一 这里通过调用sbrk实现了一个简略的malloc函数,用双向链表管理内存块,内存块的分配用了首次适应算法。 据说linux源码里又插了一个红黑树数据结构将首次适应算法改进为最佳适应,好像很厉害的样子。 #include #include /**************************原创 2013-12-21 15:08:20 · 589 阅读 · 0 评论