Oracle Interview Question

Explain how virtual memory works on a typical processor and why we use it.

Interview Answer

Anonymous

Mar 28, 2018

I explained the need for a flat, contiguous, and seemingly infinite view of memory for a process and how the MMU is utilized to create such a mapping to physical memory, along with security implications and how a segmentation fault works and process separation in general. I also explained the TLB and how it's utilized.