Memory Management -4

Memory Management -4 - Operating Systems Simple/Basic...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Operating Systems Simple/Basic Segmentation
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2 Real Memory Management Background Memory Management Requirements Fixed/Static Partitioning Variable/Dynamic Partitioning Simple/Basic Paging Simple/Basic Segmentation Segmentation with Paging
Background image of page 2
3 Simple/Basic Segmentation Paging division is arbitrary; No natural/logical boundaries for protection/sharing. Segmentation supports user’s view of a program. A user’s program is a collection of segments - logical units - such as: main program, subprogram, class procedure, function, object, method, local variables, global variables, common block, stack, symbol table, arrays
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 Some basics Because segments are based on logical, rather than physical, divisions, they have no fixed size , although there is usually an upper limit imposed by the hardware. Segmentation has no internal fragmentation , but there can be external fragmentation. Since a program can be segmented into smaller parts, which don’t have to be contiguous, the fragmentation is generally less than in a system where the entire address space is stored contiguously. Since segmentation is based on logical structure , the programmer may be responsible for organizing the program into segments.
Background image of page 4
5 User’s View of a Program
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
6 (Dynamics of Simple Segmentation (1
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 22

Memory Management -4 - Operating Systems Simple/Basic...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online