Explain the difference between Logical (Virtual) and Physical addresses. What is the role of the MMU?

Last updated 5 July 2026

  • A logical (virtual) address is what a process generates and is meaningful only in its own address space. A physical address is an actual location in RAM.

  • The MMU is hardware that translates each virtual address: it splits it into page number and offset, looks up the frame in the page table, and combines frame + offset.

  • The MMU also raises page faults on absent pages or permission violations, and uses the TLB (a cache of recent translations) to avoid page table walks.

  • https://medium.com/@teja.ravi474/logical-address-vs-physical-address-understanding-memory-management-53edbce65c57
  • https://mohitmishra786.github.io/exploring-os/src/day-16-logical-vs-physical-address-space.html
  • https://www.geeksforgeeks.org/operating-systems/memory-management-interview-questions/
  • https://eng.libretexts.org/Courses/Delta_College/Introduction_to_Operating_Systems/12%3A_Memory_Management/12.05%3A_Logical_vs_Physical_Address
  • https://bscbcanotes.wordpress.com/2024/09/16/logical-vs-physical-address-space/
  • https://www.igmguru.com/blog/operating-system-interview-questions
All Operating Systems interview questions