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)
  • Lec11 Thread switching (Robert)
    • 11.1 线程(Thread)概述
    • 11.2 XV6线程调度
    • 11.3 XV6线程切换(一)
    • 11.4 XV6线程切换(二)
    • 11.5 XV6进程切换示例程序
    • 11.6 XV6线程切换 --- yield/sched函数
    • 11.7 XV6线程切换 --- switch函数
    • 11.8 XV6线程切换 --- scheduler函数
    • 11.9 XV6线程第一次调用switch函数
  • 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

Lec11 Thread switching (Robert)

准备工作,阅读【1】中7.1~7.4,阅读【2】【3】。

【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/proc.c

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

Previous10.8 自旋锁(Spin lock)的实现(二)Next11.1 线程(Thread)概述

Last updated 3 years ago