MIT6.S081
CtrlK
  • 简介
  • Lec01 Introduction and Examples (Robert)
  • Lec03 OS Organization and System Calls (Frans)
  • Lec04 Page tables (Frans)
  • Lec05 Calling conventions and stack frames RISC-V (TA)
  • Lec06 Isolation & system call entry/exit (Robert)
  • Lec08 Page faults (Frans)
  • Lec09 Interrupts (Frans)
  • Lec10 Multiprocessors and locking (Frans)
    • 10.1 为什么要使用锁?
    • 10.2 锁如何避免race condition?
    • 10.3 什么时候使用锁?
    • 10.4 锁的特性和死锁
    • 10.5 锁与性能
    • 10.6 XV6中UART模块对于锁的使用
    • 10.7 自旋锁(Spin lock)的实现(一)
    • 10.8 自旋锁(Spin lock)的实现(二)
  • Lec11 Thread switching (Robert)
  • Lec13 Sleep & Wake up (Robert)
  • Lec14 File systems (Frans)
  • Lec15 Crash recovery (Frans)
  • Lec16 File system performance and fast crash recovery (Robert)
  • Lec17 Virtual memory for applications (Frans)
  • Lec18 OS organization (Robert)
  • Lec19 Virtual Machines (Robert)
  • Lec20 Kernels and HLL (Frans)
  • Lec21 Networking (Robert)
  • Lec22 Meltdown (Robert)
  • Lec23 RCU (Robert)
Powered by GitBook
On this page

Lec10 Multiprocessors and locking (Frans)

准备工作,阅读【1】中第6章,和【2】

【1】https://pdos.csail.mit.edu/6.828/2020/xv6/book-riscv-rev1.pdf

【2】https://github.com/mit-pdos/xv6-riscv/blob/riscv/kernel/spinlock.h

【3】https://github.com/mit-pdos/xv6-riscv/blob/riscv/kernel/spinlock.c

Previous9.9 Interrupt的演进Next10.1 为什么要使用锁?

Last updated 3 years ago