P2L1 Flashcards
Process is
instance of an executing program (aka job or task)
Process execution state stored in
program counter and stack
Temporary holding area for process data
registers
Application is
static entity. program on disk
Process is
an active entity. state of program when running
Stack is
LIFO queue. grows and shrinks
Heap
dynamically created during execution
Address space
“in memory” representation of a process
Page tables are
mapping of virtual to physical address space
Process Control Block
Process State Program Counter Registers Signal Mask Priority
Context Switch
Swapping between processes
Context switch direct costs
number of cycles for loading: 2 store instructions
Context switch indirect costs
Cold cache or cache misses
a new process is
admitted
process states
new ready running waiting terminated