Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 607 Bytes

01-Processes.md

File metadata and controls

27 lines (18 loc) · 607 Bytes

Processes

Process details

Memory Layout
  1. Program code (Text section)
  2. Current activity (Represented by the value of the program counter and the contents of the processor’s registers)
  3. Stack (Function parameters, return addresses, and local variables)
  4. Heap (Dynamically allocated memory)
State transitions

PCB - Process Control Block
  1. Process state
  2. Program counter
  3. CPU registers
  4. CPU-scheduling information
  5. Memory-management information
  6. Accounting information
  7. I/O status information

Process scheduling