Professional Documents
Culture Documents
New OSY PPT - Unit 5.2
New OSY PPT - Unit 5.2
Course Name
Operating System(OSY-22516)
Unit-5
Memory Management
Sub-Topic 5.2
Virtual Memory
B P Bhagat
Lecturer in Computer Engineering
Course Outcomes
4
1 2
3 4
2
Segment-table base register (STBR) points to the segment table’s location in memory
Segment-table length register (STLR) indicates number of segments used by a
program;
segment number s is legal if s < STLR
Protection
With each entry in segment table associate:
Protection bits associated with segments; code sharing occurs at segment level
Since segments vary in length, memory allocation is a dynamic storage-allocation
problem
A segmentation example is shown in the following diagram
Example of Segmentation
Fragmentation:(Loss of memory)
Reference:
Operating System Concept
By Abraham Silberchanz, Peter Galvin, Greg Gagne