Paging
Paging is a memory management scheme that eliminates external fragmentation by dividing both virtual address space and physical memory into fixed-size blocks called pages and frames, respectively. A process’s virtual address space is partitioned into equal-sized pages, while physical memory is divided into frames of the same size. A page table maintained by the operating system stores the mapping from page numbers to frame numbers, and a memory management unit translates virtual addresses to physical addresses by consulting this table and a translation lookaside buffer for speed.
During execution, the page number portion of a virtual address is used to index the page table,
Benefits of paging include efficient use of memory, no external fragmentation, and strong process isolation. Drawbacks
Variants and related concepts include demand paging, where pages are loaded only when needed; pre-paging, which