================ Start Lecture #13 ================
Memory management implements
address translation
.
Convert virtual addresses to physical addresses
Also called logical to real address translation.
A
virtual address
is the address expressed in the program.
A
physical address
is the address understood by the computer hardware.
The translation from virtual to physical addresses is performed by the
Memory Management Unit
or (MMU).
Another example of address translation is the conversion of
relative
addresses to
absolute
addresses by the linker.
The translation might be trivial (e.g., the identity) but not in a modern general purpose OS.
The translation might be difficult (i.e., slow).
Often includes addition/shifts/mask--not too bad.
Often includes memory references.
VERY serious.
Solution is to cache translations in a
Translation Lookaside Buffer
(TLB). Sometimes called a translation buffer (TB).
Homework:
6.