30.10.2014 Views

Operating Systems - David Vernon

Operating Systems - David Vernon

Operating Systems - David Vernon

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Memory Management<br />

Virtual Memory<br />

– Multilevel Paging<br />

» PT1 indexes top-level page table (1024 entries)<br />

» Only entries 0, 1, and 1023 point to the secondlevel<br />

page tables<br />

» which in turn point to the physical memory for<br />

code, data, and stack, respectively<br />

» Even though there are over a million pages ( 2 20 )<br />

and a thousand page tables, only 4 are needed.<br />

» We can also have 3-level and 4-level paging (but<br />

rarely worth doing it for more than 3-level)<br />

Copyright © 2007 <strong>David</strong> <strong>Vernon</strong> (www.vernon.eu)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!