Unformatted text preview: am and the process?
We’ll get to this shortly in MM 4.
4. How does the kernel create a new process?
How to allocate physical memory for processes?
How to create/initialize the virtual address space? Process
thread virtual address space + stack process descriptor + user ID
For now, this is a set of
legal memory for the
mapping later …) Each process has >= 1
thread bound to the VAS. resources Process
Information associated with each process.
Program counter, stack ptr
CPU scheduling information
I/O status information
Open files, signals (if UNIX) The
The Virtual Address Space
BSS/heap 0x0 A typical process VAS space includes:
• user regions in the lower half
• kernel regions in upper half user stack
args/env shared by all processes
directly accessible only to kernel code 2n-1 kernel text
kernel data 2n-1 0xffffffff A VAS for a private address sp...
View Full Document
- Summer '14
- Operating Systems, Computer multitasking