[🔗 Source Material]

Table of Contents:

Misc.

The OS:

The kernel:

I found the section on mmap to not be clear. This made it very clear for me:

Mmap maps memory pages directly to bytes on disk. With mmap, whenever there is a pagefault, the kernel pulls the page directly from disk into the program's memory space. In contrast, with the pread system call, the kernel reads the file into kernel space, and then proceeds by copying the memory over to userspace.

source: http://web.cs.ucla.edu/classes/honors/UPLOADS/kousha/thesis.pdf

1. Virtualization

1.1 Virtualizing the CPU

1.1.1 The Process