




























































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































































Kernel virtual memory
(code, data, heap, stack)
Memory mapped region for
shared libraries
Run-time heap
(created by malloc)
User stack
(created at runtime)
Unused 0
%esp (stack pointer)
Memory
invisible to
user code
brk
0xc 0000000
0x0 8048000
0x4 0000000
Read/write segment
(.data, .bss)
Read-only segment
(.init, .text, .rodata)
Loaded from the
executable file
0xffffffff
CPU
Main Memory
memory
address
?
(per process)
virtual address
space
(global)
physical address
space
virtual address physical address
n m
2
n
2
m
Need: VA → PA mapping function
f : { VA } → { PA } ∪ ∅
(data not in-core)