Using virtual memory for context switching?

Started by Mobo01, June 23, 2022, 02:03:55 AM

Previous topic - Next topic

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: https://www.scaler.com/topics/multiprogramming-operating-system/">Scaler, https://en.wikipedia.org/wiki/THE_multiprogramming_system">Wiki