《操作系统导论》阅读笔记(十四)空闲空间管理
阅读笔记主要来自原书第 17 章。该章对内存的空闲空间管理进行了详细的介绍。 0、前言 本章讨论所有内存管理系统的一个基本方面,无论是 malloc 库(管理进程中堆的页),还是……
Talk is cheap, show me the code.
阅读笔记主要来自原书第 17 章。该章对内存的空闲空间管理进行了详细的介绍。 0、前言 本章讨论所有内存管理系统的一个基本方面,无论是 malloc 库(管理进程中堆的页),还是……
阅读笔记主要来自原书第 20 章。该章对多级页表进行了详细的介绍,可以帮助读者更好地理解如何解决页表占用内存太多的问题:从更大的页到分页分段的混合再到多级页表... 0、前……
阅读笔记主要来自原书第 19 章。该章对快速地址转换进行了详细的介绍。 0、前言 使用分页作为核心机制来实现虚拟内存,可能会带来较高的性能开销。因为要使用分页,就要将内存……
阅读笔记主要来自原书第 18 章。该章对分页机制进行了详细的介绍。 0、前言 操作系统有两种方法,来解决大多数空间管理问题。第一种是将空间分割成不同长度的分片,就像虚拟内……
阅读笔记主要来自原书第 16 章。该章对虚拟内存的分段机制进行了详细的介绍。 0、前言 到目前为止,一直假设将所有进程的地址空间完整地加载到内存中。利用基址和界限寄存器,……
阅读笔记主要来自原书第 15 章。该章对操作系统中虚拟地址转换为物理地址的机制进行了详细的介绍。 0、前言 在实现 CPU 虚拟化时,遵循的一般准则被称为受限直接访问。受限直接……