Login Required

This note requires login to view the full content (136 lines total). Showing first 20 lines as preview. Please login to view the full content.

Login to unlock

Chapter 9: Virtual Memory Management

Created: 2025-12-16
Updated: 2025-12-16
  • Virtual Memory: separation of user logical memory from physical memory
    • extremely large process
    • increase CPU/resource utilization
    • free programmer from memory limitation
    • run programs faster -- less I/O would be needed to load or swap

Demand Paging

  • bring a page into memory only when it is needed, not bring whole process
    • less process creation time
    • less memory needed → more users
  • Valid-Invalid Bit in page table
    • (dealt by segmentation) invalid reference → abort
    • not-in-memory → Page Fault → Paging(bring page into memory)
  • pure demand paging
    • start a process with no page
    • never bring a page into memory until it's referenced
  • .

Login to unlock full content

Login Now