Using virtual memory for context switching?

For the Compleat Fan
Post Reply
Mobo01
Posts: 1
Joined: Thu Jun 23, 2022 8:57 am

Using virtual memory for context switching?

Post by Mobo01 »

I recently gave a midterm test for an Operating System course, and one of the questions went as follows:

Which of the following statements is false?
Virtual memory translates a program's address space into physical memory address space.
Virtual memory enables each application to outgrow the primary memory.
Virtual memory expands the scope of multiprogramming.
Virtual memory minimizes the overhead of context switching.
I'm torn between alternatives 1 and 4. Context switching should be faster with VM (I'm not sure why, this is simply an intuition). Option 1: Virtual memory does not implement address translation; instead, the MMU does. Is there something I'm missing? So, what is the correct response?

Source: Scaler, Wiki

Post Reply