Module 8: Memory Management
- Background
- Logical versus Physical Address Space
- Swapping
- Contiguous Allocation
- Paging
- Segmentation
- Segmentation with Paging
Operating System Concepts 8.1 Silberschatz and Galvin c 1998
Module 8: Memory Management Background Logical versus Physical - - PowerPoint PPT Presentation
' $ Module 8: Memory Management Background Logical versus Physical Address Space Swapping Contiguous Allocation Paging Segmentation Segmentation with Paging & % Silberschatz and Galvin c Operating System
Operating System Concepts 8.1 Silberschatz and Galvin c 1998
Operating System Concepts 8.2 Silberschatz and Galvin c 1998
Operating System Concepts 8.3 Silberschatz and Galvin c 1998
Operating System Concepts 8.4 Silberschatz and Galvin c 1998
Operating System Concepts 8.5 Silberschatz and Galvin c 1998
Operating System Concepts 8.6 Silberschatz and Galvin c 1998
Operating System Concepts 8.7 Silberschatz and Galvin c 1998
Operating System Concepts 8.8 Silberschatz and Galvin c 1998
Operating System Concepts 8.9 Silberschatz and Galvin c 1998
Operating System Concepts 8.10 Silberschatz and Galvin c 1998
Operating System Concepts 8.11 Silberschatz and Galvin c 1998
Operating System Concepts 8.12 Silberschatz and Galvin c 1998
Operating System Concepts 8.13 Silberschatz and Galvin c 1998
Operating System Concepts 8.14 Silberschatz and Galvin c 1998
Operating System Concepts 8.15 Silberschatz and Galvin c 1998
Operating System Concepts 8.16 Silberschatz and Galvin c 1998
Operating System Concepts 8.17 Silberschatz and Galvin c 1998
Operating System Concepts 8.18 Silberschatz and Galvin c 1998
Operating System Concepts 8.19 Silberschatz and Galvin c 1998
Operating System Concepts 8.20 Silberschatz and Galvin c 1998
Operating System Concepts 8.21 Silberschatz and Galvin c 1998
Operating System Concepts 8.22 Silberschatz and Galvin c 1998
memory
page table 900 929
page of page table
708 100
500 1
table 1 100 500 708 900 929
Operating System Concepts 8.23 Silberschatz and Galvin c 1998
Operating System Concepts 8.24 Silberschatz and Galvin c 1998
Operating System Concepts 8.25 Silberschatz and Galvin c 1998
Operating System Concepts 8.26 Silberschatz and Galvin c 1998
Operating System Concepts 8.27 Silberschatz and Galvin c 1998
Operating System Concepts 8.28 Silberschatz and Galvin c 1998
Operating System Concepts 8.29 Silberschatz and Galvin c 1998
data 2 7 6 5 ed 2 4 ed 1 3 2 data 1 1 3 4 6 1 page table for P1 process P1 data 1 ed 2 ed 3 ed 1 3 4 6 2 page table for P3 process P3 data 3 ed 2 ed 3 ed 1 3 4 6 7 page table for P2 process P2 data 2 ed 2 ed 3 ed 1 8 9 10 data 3 ed 3
Operating System Concepts 8.30 Silberschatz and Galvin c 1998
Operating System Concepts 8.31 Silberschatz and Galvin c 1998
Operating System Concepts 8.32 Silberschatz and Galvin c 1998
Operating System Concepts 8.33 Silberschatz and Galvin c 1998
Operating System Concepts 8.34 Silberschatz and Galvin c 1998
Operating System Concepts 8.35 Silberschatz and Galvin c 1998
logical memory process P1 editor data 1 physical memory 98553 editor limit 1 25286 4425 base 43062 68348 segment 0 segment 1 editor data 2 segment 0 segment 1 segment table process P1 limit 1 25286 8850 base 43062 90003 segment table process P2 data 1 data 2 90003 72773 68348 43062 logical memory process P2 Operating System Concepts 8.36 Silberschatz and Galvin c 1998
Operating System Concepts 8.37 Silberschatz and Galvin c 1998
memory s d
segment table segment length page–table base logical address
trap no STBR p d' d
f d' f physical address page table for segment s yes Operating System Concepts 8.38 Silberschatz and Galvin c 1998
Operating System Concepts 8.39 Silberschatz and Galvin c 1998
physical address selector
page table entry logical address page frame page table directory entry page directory segment descriptor descriptor table directory linear address page
page directory base register Operating System Concepts 8.40 Silberschatz and Galvin c 1998
Operating System Concepts 8.41 Silberschatz and Galvin c 1998