← 返回专栏列表

OSTEP 操作系统专栏

共 62 篇文章

11. OSTEP:Segmentation

本篇对应 OSTEP Version 1.10 的 “Segmentation”。Segmentation 在 base/bounds 的基础上,为 code、heap、stack 等不同 segments 分别设置 base 与 bounds,从而减少未使用 address-space 区域带来的空间浪费。

12. OSTEP:分页基础

本篇对应 OSTEP Version 1.10 的 “Introduction to Paging”。Paging 把 virtual address space 和 physical memory 都切成固定大小的 pages/frames,再由 page table 记录映射,避免 segmentation 的…

13. OSTEP:TLB

本篇对应 OSTEP Version 1.10 的 “Paging: Faster Translations (TLBs)”。TLB 是位于 MMU 中的 hardware cache,用来缓存常用的 virtual-to-physical address translation。

14. OSTEP:Advanced Page Tables

本篇对应 OSTEP Version 1.10 的 “Paging: Smaller Tables”。目标是解决 linear page table 过大、浪费大量 memory 的问题。

15. OSTEP:Swapping 机制

本篇对应 OSTEP Version 1.10 的 “Beyond Physical Memory: Mechanisms”。它把 physical memory 之外的 disk/swap space 引入 virtual memory,建立大于 physical memory 的 address-space…

16. OSTEP:Swapping 策略

本篇对应 OSTEP Version 1.10 的 “Beyond Physical Memory: Policies”。当 free memory 不足时,OS 必须决定 evict 哪些 pages,以尽量减少昂贵的 disk access。

17. OSTEP:Complete Virtual Memory Systems

本篇对应 OSTEP Version 1.10 的 “Complete Virtual Memory Systems”。它把前面介绍的 page tables、TLB、replacement、swapping 与 protection 组合成完整系统,并以 VAX/VMS 和 Linux x86 为例。

18. OSTEP:VM 总结

本篇对应 OSTEP Version 1.10 的 “Summary Dialogue on Memory Virtualization”。这是 memory virtualization 主线的总结对话,按原文轮次完整翻译;原文没有独立图片。

19. OSTEP:并发导论

本篇对应 OSTEP Version 1.10 的 “Concurrency: An Introduction”。在 CPU 与 memory virtualization 之后,本篇引入 thread,并说明 shared data 如何在并发调度下产生 race condition。

20. OSTEP:Thread API

本篇对应 OSTEP Version 1.10 的 “Interlude: Thread API”。它是 POSIX thread API 的 reference,重点是 、、mutex 与 condition variable 的接口语义。

第 2 / 7 页 · 共 62 篇