Windows内存管理

哎, Windows核心编程被翻译的太烂了。
我需要在这里将内存管理这一章的一些内容给解释清楚:

Partition:Each process's virtual address space is split into partitions.
Region(区域):是通过VirtualAllocEx函数进行保留的一段虚拟地址空间(The act of allocating a region is called reserving.)
Virtual Memory==Physical Storage==Physical Memory(That is RAM)+ Page File(Or a Memory Mapping file on disk)
Reserve(保留):The act of allocating a region(in Vritual Address space) is called reserving.
Commit(提交):allocate physical storage(not RAM) and then map this storage to the reserved region.
Block(块): A block is a set of contiguous pages that all have the same protection attributes and that are all backed by the same type of physical storage
Process Address Space:A 4G virtual address space

Reserve:开始地址向小的方向调整为分配粒度64K的倍数         保留大小为Page Size的倍数
Commit:开始地址向小的方向调整为Page Size的倍数               保留大小为Page Size的倍数

Memory-mapped file:When a program's file image (that is, an .exe or a DLL file) on the hard disk is used as the physical storage for a region of address space, it is called a memory-mapped file。


你可能感兴趣的:(windows)