5.5. Paged virtual memory
In Section 5.4 we introduced hardware-supported segmentation in which a process views its virtual address space as a number of individual segments, each with an associated length and access-control settings. However, the need to keep each loaded segment contiguous in physical memory poses a significant disadvantage because it leads to fragmentation and complicates the physical storage allocation problem. A solution to this is called paging. Blocks of a fixed size are used for memory allocation so that if there is any free store it is of the right size. Memory is divided into page frames and the user's program is divided into pages of the same size.
Typically each page is a reasonably small size, such as 4 kbytes, and ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access