
OS
文章平均质量分 77
zztant
这个作者很懒,什么都没留下…
展开
-
完全不懂Minix3---1
2.5. Overview of Processes in MINIX 3Having 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 · 470 阅读 · 0 评论 -
函数malloc一个简单的实现
网上对sbrk到底是system call 还是 library function说法不一这里通过调用sbrk实现了一个简略的malloc函数,用双向链表管理内存块,内存块的分配用了首次适应算法。据说linux源码里又插了一个红黑树数据结构将首次适应算法改进为最佳适应,好像很厉害的样子。#include#include/**************************原创 2013-12-21 15:08:20 · 619 阅读 · 0 评论