Context Switch

Changing the running process

A context switch is non-negligible cost

What needs to be done?

  • Always save program counter and integer registers
  • Save floating point or other special registers
  • Save condition codes
  • Change virtual address translations