- 博客(8)
- 收藏
- 关注
原创 OS学习笔记:Lecture 8
System calls Review:Interrupt 只能嵌套两次 Bottomhalf (in linux)Interrupt handling PhilosophyDo as little as possible Defer non-critical actions till laterInterrupt handlers have no process context ...
2018-04-08 12:16:34 147
原创 OS学习笔记:Lecture 7
IPCTwomodels:Shared memory: 不会过多干预Message passing: 有message这个抽象,有mailbox,需要通过receive和send两个接口操作Send 通过os的bufferReceiver blocking non-blocking ExceptionCPU在执行每段指令时都可能调入interrupt handlerException table...
2018-04-08 12:15:49 199
原创 OS学习笔记:Lecture 6
Communicationsmodels需要kernel参与 => 性能更好 kernel只提供一个shared memory => 安全性更好,不直接暴露数据 IPCInterprocess communicationModels: shared memory; message passingIn xv6: pipe通过read write交互 Message pas...
2018-04-08 12:14:59 206
原创 OS学习笔记:Lecture 5
Review:Logical address -> linear address -> physical address OS只有一个页表,如何映射64G Processin xv6CPU kernel limited Thread: Thread and address spaces are independent concepts Process conce...
2018-04-08 12:14:09 164
原创 OS学习笔记:Lecture 4
VirtualMachine Virtualmemory:Process A & process B store data in the same memory; copy on write 隔离 Disk 模拟 memory => increase the memory MMU check the privillege control pages Cache...
2018-04-08 12:13:02 205
原创 OS学习笔记:Lecture 3
OS architecture What isOS?Not solvable. Goals:User goals: easy to learn, reliable, safe and fast. System goals: easy to design, implement and maintain, flexible. Principle:Policy:...
2018-04-08 12:12:18 134
原创 OS学习笔记:Lecture 2
冯诺伊曼模型 CPU 循环Mainmemory 寻址EIP 寻址模式:Real mode 物理地址 Protected mode 虚拟地址 SMM (system management mode) 任何crash下都能运行 IA-32 扩展更大内存 Virtual-8086 兼容 System flags Control registersCR3 ...
2018-04-08 12:11:37 133
原创 OS学习笔记:Lecture 1
ISA 指令架构ABIinterface between process and machineAPI Scale upOSMinimize sharing of common data structuresReduce the use of locksSecurityThe degree of resistance to harmPowerefficiencyDynamic voltage an...
2018-04-08 12:10:11 176
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人