Rev 105 | Rev 160 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 105 | Rev 136 | ||
---|---|---|---|
Line 463... | Line 463... | ||
463 | and, finally, the leaf level is called PTL3. All architectures using |
463 | and, finally, the leaf level is called PTL3. All architectures using |
464 | this mechanism are required to use PTL0 and PTL3. However, the middle |
464 | this mechanism are required to use PTL0 and PTL3. However, the middle |
465 | levels can be left out, depending on the hardware hierachy or |
465 | levels can be left out, depending on the hardware hierachy or |
466 | structure of software-only page tables. The genericity is achieved |
466 | structure of software-only page tables. The genericity is achieved |
467 | through a set of macros that define transitions from one level to |
467 | through a set of macros that define transitions from one level to |
468 | another. Unused levels are optimised out by the compiler.</para> |
468 | another. Unused levels are optimised out by the compiler. |
- | 469 | <figure float="1"> |
|
- | 470 | <mediaobject id="mm_pt"> |
|
- | 471 | <imageobject role="pdf"> |
|
- | 472 | <imagedata fileref="images/mm_pt.pdf" format="PDF" /> |
|
- | 473 | </imageobject> |
|
- | 474 | ||
- | 475 | <imageobject role="html"> |
|
- | 476 | <imagedata fileref="images/mm_pt.png" format="PNG" /> |
|
- | 477 | </imageobject> |
|
- | 478 | ||
- | 479 | <imageobject role="fop"> |
|
- | 480 | <imagedata fileref="images/mm_pt.svg" format="SVG" /> |
|
- | 481 | </imageobject> |
|
- | 482 | </mediaobject> |
|
- | 483 | ||
- | 484 | <title>Hierarchical 4-level page tables.</title> |
|
- | 485 | </figure> |
|
- | 486 | </para> |
|
469 | </section> |
487 | </section> |
470 | 488 | ||
471 | <section> |
489 | <section> |
472 | <indexterm> |
490 | <indexterm> |
473 | <primary>page tables</primary> |
491 | <primary>page tables</primary> |
Line 486... | Line 504... | ||
486 | key for the hash table. One of the major differences between the |
504 | key for the hash table. One of the major differences between the |
487 | global page hash table and hierarchical 4-level page tables is that |
505 | global page hash table and hierarchical 4-level page tables is that |
488 | there is only a single global page hash table in the system while |
506 | there is only a single global page hash table in the system while |
489 | hierarchical page tables exist per address space. Thus, the global |
507 | hierarchical page tables exist per address space. Thus, the global |
490 | page hash table contains information about mappings of all address |
508 | page hash table contains information about mappings of all address |
491 | spaces in the system.</para> |
509 | spaces in the system. |
- | 510 | <figure float="1"> |
|
- | 511 | <mediaobject id="mm_hash"> |
|
- | 512 | <imageobject role="pdf"> |
|
- | 513 | <imagedata fileref="images/mm_hash.pdf" format="PDF" /> |
|
- | 514 | </imageobject> |
|
- | 515 | ||
- | 516 | <imageobject role="html"> |
|
- | 517 | <imagedata fileref="images/mm_hash.png" format="PNG" /> |
|
- | 518 | </imageobject> |
|
- | 519 | ||
- | 520 | <imageobject role="fop"> |
|
- | 521 | <imagedata fileref="images/mm_hash.svg" format="SVG" /> |
|
- | 522 | </imageobject> |
|
- | 523 | </mediaobject> |
|
- | 524 | ||
- | 525 | <title>Global page hash table.</title> |
|
- | 526 | </figure> |
|
- | 527 | </para> |
|
492 | 528 | ||
493 | <para>The global page hash table mechanism uses the generic hash table |
529 | <para>The global page hash table mechanism uses the generic hash table |
494 | type as described in the chapter dedicated to <link |
530 | type as described in the chapter dedicated to <link |
495 | linkend="hashtables">data structures</link> earlier in this |
531 | linkend="hashtables">data structures</link> earlier in this |
496 | book.</para> |
532 | book.</para> |