Lab 4: Page Tables

In the lectures, you learned about address spaces, how paging works and its role in implementing virtual memory. In this session, we will explore its implementation in xv6 more thoroughly.

Preparation

To be adequately prepared for this session and to avoid wasting time by working without a clear understanding, you are expected to:

  1. have completed all previous lab sessions; and
  2. have read Chapter 3 of the xv6 book; and
  3. have a solid understanding of the theory behind address spaces and virtual memory; and
  4. have a clear understanding of how page tables are used to translate a virtual address into a physical address.

Most of the xv6 code for manipulating address spaces and page tables resides in vm.c.


Table of contents


This site uses Just the Docs, a documentation theme for Jekyll.