Paging uses fixed-size pages, is invisible to the programmer, and avoids external fragmentation; segmentation divides memory into variable-size logical units (code, data, stack, modules), matches how programmers think, and makes protection and sharing by unit natural, but causes external fragmentation.
Address format: page number and offset versus segment number and offset (checked against a segment limit).
Many systems combine them (segmented paging); modern 64-bit Linux mostly relies on paging.
Loading…