Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors

Compare Paging and Segmentation?

PagingSegmentation
Basic IdeaDivide memory into fixed-size chunks (pages)Divide memory into variable-size logical units (segments)
Unit of MemoryPagesSegments
Unit of AddressPage numbersSegment numbers or offsets within segments
HardwareRequires hardware support (page table, TLB)Requires hardware support (segment table, segment registers)
Memory MappingPages are mapped linearly to physical memory addressesSegments are mapped non-linearly to physical memory addresses
FragmentationMay result in internal fragmentationMay result in external fragmentation
Access ControlCan control access to individual pagesCan control access to entire segments or portions of segments
Memory SharingAllows for memory sharing at the page levelAllows for memory sharing at the segment level