IT lexicon › Infra & Ops › xv6

xv6

Infra & Ops På svenska → Updated: 2026-11-08

MIT's rewrite of Sixth Edition Unix, built so students can read an entire kernel.

For decades, operating systems were taught from Unix Version 6 (1975) and John Lions' commentary on its source. The catch was that the code targeted the PDP-11 in a dialect of C nobody wrote any more. In 2006 Russ Cox, Frans Kaashoek and Robert Morris rewrote it in modern C for x86 for MIT's 6.828 course and called it xv6.

The kernel is a few thousand lines and has processes, virtual memory, a logging file system and multiprocessor support. In 2019 it moved to RISC-V, and the x86 version is now archived. It comes with a book explaining every part, and plenty of universities have borrowed the course wholesale.

← Back to the lexicon