boot_alloc(): what should it “allocate” & returnstruct PageInfo: what’s allocating a page from the free listpgdir_walk(): why to allocate “a new page table page”
inc/memlayout.hstruct proc in proc.hscheduler() → switchuvm(p) → lcr3(v2p(p->pgdir))cat /proc/iomemcat /proc/self/map (or replace self with a PID)obj->fieldinc/memlayout.hmmap(): map files, read/write files like memoryread/write.so/.dll filesuvpt[n] gives the PTE of page n