Page Table

Creator
Created
Created
2019 Nov 5 5:17
Editor
Edited
Edited
2024 Jun 7 5:6
Refs
Refs

Increase page level to reduce page table

kernel address is accessible from both direction
notion image
Each Process has Page Table, Page table entry(PTE) has valid, access bit
 

Page Table Arguments

  1. V = {0 ,1 , ..., N-1}: virtual address space
  1. P = {0, 1, ..., M-1}: physical address space
  1. N > M: difference that not comparable
  1. MAP: V → P U {null} address mapping function
  1. null if in Disk (if valid is 0): page fault
 

Page Table Parameters

log upper = lower
  1. P = Page size (bytes): typically KBs
  1. N = Virtual Address limit
  1. M = Physical address limit
 
virtual address = virtual page number(VPN) bit + page offset
VPN acts page index in page table
physical address = physical page number bit + page offset
address translation change previous one only (32 bit to other)
 
compare start by page table base register
page table need protection and cache do not need because of address translation
 
 

Recommendations