# US 2013/0097360 A1 · Maintaining processor resources during architectural events

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0097360 A1
- Document ID: US20130097360A1
- Status: Published application
- Kind: A1
- Application number: 13/708,547
- Filed: 2012-12-07
- Published: 2013-04-18
- Earliest claimed: 2004-07-30
- Assignees: Intel Corporation
- Inventors: Jason W Brandt; Sanjoy K Mondal; Richard A Uhlig; Gilbert Neiger; Robert T George
- Web page: https://patentgrep.com/patent/US20130097360A1

## CPC

- G06F 12/1036: for multiple virtual address spaces, e.g. segmentation (G06F12/1045 takes precedence)
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 12/0292: {using tables or multilevel address translation means (G06F12/023 takes precedence; address translation in virtual memory systems G06F12/10)}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0891: using clearing, invalidating or resetting means
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 12/1063: {the data cache being concurrently virtually addressed}
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 12/12: Replacement control
- G06F 12/123: with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45591: {Monitoring or debugging support}
- G06F 2212/1016: Performance improvement
- G06F 2212/1024: Latency reduction
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/30: Providing cache or TLB in specific location of a processing system
- G06F 2212/50: Control mechanisms for virtual memory, cache or TLB
- G06F 2212/604: Details relating to cache allocation
- G06F 2212/651: Multi-level translation tables
- G06F 2212/657: Virtual address space management
- G06F 2212/68: Details of translation look-aside buffer [TLB]
- G06F 2212/683: Invalidation
- G06F 2212/684: TLB miss handling
- G06F 2212/70: Details relating to dynamic memory management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

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.

## Claims

### Claim 1

A processor, comprising:
an execution logic to support a virtual machine monitor (VMM) to provide an abstraction of one or more virtual machines (VMs) to a plurality of guests running on the one or more VMs, each of the plurality of guests to include an operating system (OS) and software, the VMM to provide access to each of the one or more VMs to a set of physical resources including processor resources, memory, and input/output (TO) devices,
a translation lookaside buffer (TLB) having a plurality of page table entries (PTEs) to translate virtual addresses to physical addresses of memory pages, each PTE including:
an address space identifier (ASID) to identify an address space associated with the PTE,
a thread identifier (ID) to identify a thread associated with the PTE,
a valid bit; and
a current ASID register to store a current ASID that is to be updated to switch to a different address space,
wherein the execution logic, in response to a context switch, is to either not invalidate any PTEs of the TLB or to selectively invalidate one or more PTEs of the TLB based on ASIDs of the PTEs and the current ASID stored in the current ASID register.
