Segmentation Paging


- **Use segments to manage logically related units**
- **Use pages to partition segments into fixed size chunks **- first go to segment table (protection easy)
> Need to allocate page table entries only for those pieces of the segments that have themselves been allocated.
> ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd370d686-0d0a-4b36-9304-1c52bb619bfa%2FUntitled.png?table=block&id=33d0e559-e0c3-4c22-9dcb-38bbc8eeb185&cache=v2)
> ![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2F5c5ffdbb-d91c-4b65-b989-fde20a0389cf%2FUntitled.png?table=block&id=69399c6b-6efa-4b2e-a6bc-3665fc417f01&cache=v2)
**Logical (virtual) address → Linear address → Physical address (intel 32 architecture)**
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Fd6130a43-2117-4675-acf7-49442a5ed895%2FUntitled.png?table=block&id=8bd0a58e-360f-499a-b136-4a2bd00ce504&cache=v2)
Segmentation: logical partition of memory - Segment Selector bits exist (segmentation register store segment selector bits usually)
![](https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Ff8645193-e5ef-4450-a3af-26da99b9b36c%2FUntitled.png?table=block&id=2b2edf19-d47f-4964-9766-a221553cf019&cache=v2)
> Offset means relative address
