Memory segmentation: Difference between revisions

Content deleted Content added
S/370 architecture: citations, DAT, DAS
Reaur (talk | contribs)
Tags: canned edit summary Mobile edit Mobile app edit Android app edit
Line 23:
 
===Segmentation without paging===
Associated with each segment is information that indicates where the segment is located in memory— the ''segment base''. When a program references a memory ___location, the offset is added to the segment base to generate a physical memory address.
 
An implementation of virtual memory on a system using segmentation without paging requires that entire segments be swapped back and forth between main memory and secondary storage. When a segment is swapped in, the operating system has to allocate enough contiguous free memory to hold the entire segment. Often [[Fragmentation (computing)|memory fragmentation]] results if there is not enough contiguous memory even though there may be enough in total.