每次为程序指令或数据处理内存位置时,都需要将虚拟地址转换成物理(或实际)内存地址。
Every time a memory location is addressed for program instructions or data, a virtual address is translated into a physical or real memory address.
然后由操作系统处理,操作系统可能会寻找一块空闲内存,为它建立一个新的PTE,映射到被请求的虚拟地址。
The operating system then handles the situation, perhaps by trying to find a spare frame of ram and set up a new PTE to map it to the requested virtual address.
虽然系统为单独进程选择虚拟地址,它维护各个段的相对位置。
Though the system chooses virtual addresses for individual processes, it maintains the segments' relative positions.
应用推荐