Why may a memory management system need relocation support when performing compaction?

Options

  • A. Because compaction changes the physical locations of processes
  • B. Because compaction converts every process into a fixed-size page
  • C. Because compaction permanently disables virtual memory
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. Because compaction changes the physical locations of processes

Detailed Explanation

Correct Answer: Because compaction changes the physical locations of processes.

Explanation: Compaction moves processes to combine free memory. Address references must continue to work after relocation. Hardware support such as a base register, or suitable relocation mechanisms, can help ensure that references resolve to the correct physical addresses.