Pergunta de entrevista da empresa Oracle

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

Resposta da entrevista

Sigiloso

28 de mar. de 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.