发明名称 Maintaining processor resources during architectural events
摘要 In one embodiment of the present invention, a method includes switching between a first address space and a second address space, determining if the second address space exists in a list of address spaces; and maintaining entries of the first address space in a translation buffer after the switching. In such manner, overhead associated with such a context switch may be reduced.
申请公布号 US9164901(B2) 申请公布日期 2015.10.20
申请号 US201414579526 申请日期 2014.12.22
申请人 Intel Corporation 发明人 Brandt Jason W.;Mondal Sanjoy K.;Uhlig Richard A.;Neiger Gilbert;George Robert T.
分类号 G06F12/00;G06F13/00;G06F12/02;G06F9/48;G06F12/10;G06F9/455 主分类号 G06F12/00
代理机构 代理人 Lane Thomas R.
主权项 1. A system comprising: a level 2 (L2) cache; and a processor coupled to the L2 cache, the processor comprising: execution logic to support a virtual machine monitor;address space control registers to store a plurality of control bits, including a physical address extension bit and a no execution bit;a translation lookaside buffer (TLB) to store a plurality of page table entries (PTEs) to translate virtual addresses to physical addresses of memory pages and address space identifiers (ASIDs), an ASID to identify an address space associated with corresponding PTEs, the ASID to match a value of a current ASID when the corresponding PTEs are loaded into the TLB; anda current ASID register to store the current ASID, the current ASID register to be updated on a context switch to a different address space;wherein, in response to the context switch and based on ASIDs of the PTEs and the current ASID stored in the current ASID register, the processor is to either not invalidate any PTEs of the TLB or to selectively invalidate one or more PTEs of the TLB;wherein, based on a first instruction to invalidate TLB entries corresponding to a specified address, the processor is to flush any TLB entries corresponding to that address, regardless of their ASID; andwherein, based on a second instruction, the processor is to transfer control from quest software to the virtual machine monitor.
地址 Santa Clara CA US