Process Suspension

Swapping

Swapping

In swapping, part or all of a process is moved from main memory to disk.

When a process is swapped out, it becomes Suspended State.

Swapping \neq Suspension

A process can be suspended without necessarily being swapped. A suspended process is merely another kind of state.

Swapping mechanism (described on p.144 of SE350 book):

  1. The ready queue is empty
  2. Blocked processes moved to blocked/suspend queue
  3. Ready/suspend processes moved to ready process