CSE 120 Lecture Notes - Lecture 9: Logical Address

62 views4 pages

Document Summary

Problems w/ sharing memory: addressing problem - generates memory references, protection - modifying another process" memory. A process executing might actually run some other process (because it"s sharing memory: space - the more processes there are, the less memory each individual can have. The more sharing, the less each gets! (so sharing is not caring) Address spaces - set of addresses for memory. Problem: some addresses don"t exist at the time when the processes start running! Only when you actually need to access the physical memory, convert it. Adder adds base of these logical addresses to translate to physical. Add to base : invalid address, trap (invoke the kernel!) Processes can"t reach back (which is why the kernel is placed at the beginning) Kernel must be protected from all processes (i. e. put it at 0) Each segment has an identifier, s , and a size n s. Logical addresses are of the form (s, i)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents