将之前学习的MIT6.S081分lab上传,记录,内有注释。
xv6教程中文版:https://th0ar.gitbooks.io/xv6-chinese/content/index.html
xv6课程官网:https://pdos.csail.mit.edu/6.S081/2020/schedule.html
lab1 util
简述 :使⽤⼏个常⻅的系统调⽤编程,熟悉开发环境
难度 :3 easy 3 moderate
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/util.html
lab2 syscall
简述 :添加新的系统调⽤
难度 :2 moderate
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/syscall.html
lab3 pgtbl
简述 :学习xv6的⻚表机制,提⾼⽤户空间和内核空间之间传递数据的效率
难度 :1 easy 2hard
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/pgtbl.html
lab4 traps
简述 :从系统调⽤⼊⼿梳理中断的全流程
难度 :1 easy 1 moderate 1hard
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/traps.html
lab5 lazy
简述 :利⽤缺⻚故障实现内存分配的懒分配策略
难度 :1 easy 2 moderate
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/lazy.html
lab6 cow
简述 :利⽤缺⻚故障实现fork系统调⽤的写时复制机制
难度 :1 hard
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/cow.html
lab7 thread
简述 : 实现⽤户级线程;优化并发程序;实现同步屏障
难度 :3 moderate
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/thread.html
lab8 lock
简述 : 分别在物理内存⻚管理和⽂件缓存⻚管理这两个场景中降低锁竞争,提⾼并发程度进⽽提升性能
难度 : 1 moderate 1 hard
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/lock.html
lab9 fs
简述 : 让xv6⽀持⼤⽂件(原来只⽀持268MB以下的⽂件);实现符号链接(软链接)
难度 : 2 moderate
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/fs.html
lab10 mmap
简述 : 实现内存映射功能(即mmap系统调⽤)
难度 : 1 hard
地址:https://pdos.csail.mit.edu/6.S081/2020/labs/mmap.html
lab11 network
简述 : 为⽹络接⼝卡(NIC)编写⼀个xv6设备驱动程序
难度 : 1 hard