▶ 目录 ← 首页
6.S081

简介

MIT 6.S081(Operating System Engineering)是 MIT 的操作系统课程。课程官网简介如下(原文):

Design and implementation of operating systems, and their use as a foundation for systems programming.

操作系统的设计与实现,及其作为系统编程基础的应用。

课程内容涵盖:虚拟内存(virtual memory)、文件系统(file systems)、线程与上下文切换(threads, context switches)、内核(kernels)、中断(interrupts)、系统调用(system calls)、进程间通信(interprocess communication)、软硬件协同(interaction between software and hardware)。

课程基于教学操作系统 xv6(RISC-V 多处理器操作系统)讲解这些主题。官网对 xv6 的介绍(节选):

Xv6 is a teaching operating system developed in the summer of 2006 for MIT’s operating systems course, 6.828: Operating System Engineering. In 2019, we ported xv6 to RISC-V for a new undergraduate class 6.S081.

xv6 是 2006 年夏为 MIT 操作系统课程 6.828 开发的教学操作系统,2019 年移植到 RISC-V,成为新本科课程 6.S081 的教学平台。

官网如此说明选用 xv6 而非现代生产级操作系统的原因(节选):

xv6 is big enough to illustrate the basic design and implementation ideas in operating systems; far smaller than any modern production O/S, and correspondingly easier to understand; and it has a structure similar to many modern operating systems, so that once you’ve explored xv6, much is familiar inside kernels such as Linux.

xv6 大到足以展示操作系统的核心设计与实现思路,又比任何现代生产级操作系统小得多、更容易理解;其结构与许多现代操作系统相似,读透 xv6 之后,Linux 等内核里的很多概念都会似曾相识。

课程理念是 Learning by doing(做中学):配套 11 个实验(lab),每个实验都要动手扩展 xv6 —— 例如实现更复杂的虚拟内存特性、copy-on-write fork、网络驱动等。xv6 通过 QEMU 模拟 RISC-V 硬件运行。

课程信息:6.S081 授课教授为 Robert Morris 与 Frans Kaashoek(2020 春季);课程主页 https://pdos.csail.mit.edu/6.S081/2020/ ;xv6 手册 https://pdos.csail.mit.edu/6.828/2020/xv6/book-riscv-rev1.pdf 。

以上简介摘自课程官网;本站笔记为该课程的中文翻译版,仅作学习参考。