P3L2 - Memory Management Flashcards
How does the OS decouple physical memory from memory that a process interacts with?
By providing a address space
T/F: The range of virtual addresses that are visible to a process can be much larger than the actual amount of physical memory?
True
What is allocation?
Requires that the OS incorporate certain mechanisms and data structures so it can track how memory is used and what memory is free?
What is arbitration?
Requires that the OS can quickly interpret and verity a process memory access and to translate a virtual address into a physical address and validate it to verify that it is a legal access
____ are fixed-size segments that the virtual address space is divided into
Pages
____ are the segments that the physical memory is divided into?
Page Frames
How does the operating system map pages into page frames?
Via page tables
T/F: Paging is not the only way to decouple the virtual and physical memories?
True - Another approach is segmentation, or a segment-based memory approach
______ is the dominant memory management mechanism
Paging
T/F: Memory management is not done by the OS alone?
True! Hardware mechanisms help
What unit is responsible for converting virtual into physical addresses?
The MMU (Memory Management Unit)
____ is a small cache of virtual-physical address translations
TLB (Translation Lookaside Buffer)
What is the use of page tables?
To convert the virtual memory addresses into physical memory addresses
T/F: For each virtual address, an entry in the page table is used to determine the actual physical address?
True!
T/F: The sizes of the pages in virtual memory are identical to the sizes of the page frames in physical memory?
True