What is an inverted page table, and what problem does it solve compared to a per-process page table?
Last updated
An inverted page table is one global table with one entry per physical frame, storing which (pid, page) occupies it.
Its size depends only on RAM. Per-process tables, by contrast, scale with huge virtual address spaces times the number of processes.
Lookup requires a search (sped up with a hash table plus the TLB), and sharing pages is awkward.
- https://cstaleem.com/inverted-page-table-in-os
- https://www.geeksforgeeks.org/operating-systems/difference-between-page-table-and-inverted-page-table/
- https://mohitmishra786687.medium.com/explaining-virtual-memory-how-your-computer-juggles-memory-like-a-pro-6c73fc81c510
- https://loonytek.com/2015/10/09/difference-between-page-table-and-inverted-page-table/