Throughout this semester, we expect that you will read the entire implementation of the xv6 kernel, accompanied by the xv6 book, which explains the rationale and design underlying the kernel's implementation. (The source code is also available as a Lions-style PDF)
For this lecture, read the following files in the xv6 kernel implementation:
vm.c:copyout() calls vmfault when dstva isn't mapped. Describe a scenario in which dstva isn't mapped? That is, give a list of system calls that a process can make to triggers this case.
You may find chapter 5 of the book useful in understanding page faults.
Submit your answer in an ASCII text file named homework.txt to the corresponding "Lecture N" assignment on Gradescope.
Questions or comments regarding 6.1810? Send e-mail to the course staff at 61810-staff@lists.csail.mit.edu.