BEST代写-线上编程学术专家

Best代写-最专业靠谱代写IT | CS | 留学生作业 | 编程代写Java | Python |C/C++ | PHP | Matlab | Assignment Project Homework代写

C语言代写 | Project 3 Demo Questions

C语言代写 | Project 3 Demo Questions

Project 3 Demo Questions
The following questions will be asked during the demo session. Before your demo with the TA,
prepare a write-up with your answers to the questions Q1 – Q5, and submit it to the link on
MyCourses.
Q1: What is the page size with xv6? Use xv6’s code to support your answer.
Q2: Does xv6 use linear paging or multi-level paging? If multi-level paging, how many levels are
there? Use xv6’s code to support your answer.
Q3: Answer the following questions about how the kernel’s memory is managed in xv6.
(a) What is the address range of virtual memory that is used for the OS kernel?
(b) Where is the above range of virtual addresses mapped to in physical memory?
(c) How is the kernel’s virtual memory mapped to physical memory (using linear mapping
or using page table)? Show the xv6’s which achieves this mapping.
Q4: The original xv6 use the “direct copying” approach when forking. In other words, the forking
needs to copy every page of the parent process for the child process. Show the code which
achieve this functionality and explain this code.
Q5: Explain with code about how your CoW implementation works.
Note:
1. At least one team member needs to do the submission. It’s also okay if both submit.
2. If the file with your answers is not submitted to MyCourses before your demo
with the TA, 50% of the demo points will be deducted.
1

bestdaixie