Separation of Policy and Mechanism (1) - Memory management system is divided into three parts
- A low-level MMU handler.
- A page fault handler that is part of the kernel.
- An external pager running in user space.
- Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Separation of Policy and Mechanism (2) - Figure 3-29. Page fault handling with an external pager.
- Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Segmentation (1) - Examples of tables generated by compiler:
- The source text being saved for the printed listing
- The symbol table, names and attributes of variables.
- The table containing integer and floating-point constants used.
- The parse tree, syntactic analysis of the program.
- The stack used for procedure calls within compiler.
- Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Segmentation (2) - Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Segmentation (3) - Figure 3-31. A segmented memory allows each table to grow or shrink independently of the other tables.
- Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Segmentation (4) - Figure 3-32. Comparison of paging and segmentation
- Tanenbaum & Bos, Modern Operating Systems: 4th ed., Global Edition (c) 2015 Pearson Education Limited. All rights reserved.
Chia sẻ với bạn bè của bạn: |