OSlings Practice 34k-36k, Problem 1: Processes¶
OSlings Practice 34k-36k, problem 1 of 3 · Length: 6:15 · Exercise: 34k_processes (Week 9) · Problems: 34k-36k (PDF) · Answer key: Solutions (PDF)
Two parts, worked on the set's pages 1 and 2: (a) allocproc and freeproc traced through seven calls on a four-slot table: the slot and pid each call gets, and every slot's state and pid at the end; (b) create_pagetable runs out of memory at line 6: what allocproc returns, what it leaves in the slot, why that is a problem for the rest of the kernel, and the fix. The answer key's handwriting is written onto the page as each step is worked.
Download the video (MP4, 10 MB) · Captions (WebVTT) · All three problems