CSMC 412
Operating Systems
- Prof. Ashok K Agrawala
Memory Management - II Online Set 2
April 2020 1
CSMC 412 Operating Systems Prof. Ashok K Agrawala Memory - - PowerPoint PPT Presentation
CSMC 412 Operating Systems Prof. Ashok K Agrawala Memory Management - II Online Set 2 April 2020 1 Memory Management Schemes from I The logical address space of a Desirable Features: process must be resident in the Very large
Memory Management - II Online Set 2
April 2020 1
April 2020 2
April 2020 3
A B D C A B D C
April 2020 4
A B D C A B D C
main program procedure function method
local variables, global variables common block stack symbol table arrays
April 2020 5
April 2020 6
1 3 2 4 1 4 2 3 user space physical memory space
April 2020 7
April 2020 8
April 2020 9
April 2020 10
April 2020 11
April 2020 12
April 2020 13
April 2020 14
page number page offset p d m -n n
April 2020 15
April 2020 16
n=2 and m=4 32-byte memory and 4-byte pages
April 2020 17
April 2020 18
Before allocation After allocation
April 2020 19
April 2020 20
April 2020 21
Page # Frame # Page # Frame # Page # Frame # Page # Frame # Page # Frame # Page # Frame # Page # Frame # Page # Frame # Page # Frame #
April 2020 22
Page # Frame #
April 2020 23
April 2020 24
related to number of associative registers
April 2020 25
April 2020 26
April 2020 27
April 2020 28