摘要:
timers and time management 时间有相对、绝对时间之分。一个process在5s之后运行时相对时间,current time of day(也就是wall-time)是绝对时间,绝对时间一般是与用户交互时用到。 The system timer goes off (often 阅读全文
摘要:
An introduction to kernel synchronization 当一个thread正在对数据进行读写操作时,另一个thread对同一个数据进行读写操作,这就会产生冲突竞争,比如重写数据单元等。为了解决这样的问题,必须考虑synchronization的问题。这样的竞争问题,并不总 阅读全文
摘要:
bottom halves and deferring work 重要的需要立即处理的工作在上半页(interrupt handler)进行处理,不是太紧急的部分就在下半页进行处理。The job of bottom halves is to perform any interrupt-relate 阅读全文
摘要:
Kernel Data Structures Kernel 提供了以下的数据结构,就不要造轮子了(don't reinvent the wheel.)。Linked lists、Queues、Maps、Binary trees Linked lists 链式结构的数据是在不同的时期创建的,他们可能存 阅读全文
摘要:
操作系统与kernel 操作系统包括内核、设备驱动、boot loader、命令shell、别的用户接口等。 典型的内核里面有:中断handle、scheduler to share processor time、a memory management system to manage proces 阅读全文