Mechanism to save and restore cache and translation trace for fast context switch
Abstract
A method and system for efficient context switching are provided. An execution entity that is to be context switched out is allowed to continue executing for a predetermined period of time before being context switched out. During the predetermined period of time in which the execution entity continues to execute, the hardware or an operating system tracks and records its footprint such as the addresses and page and segment table entries and the like accessed by the continued execution. When the execution entity is being context switched back in, its page and segment table and cache states are reloaded for use in its immediate execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 6.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method for context switching, comprising: allowing an execution entity in a processor to continue executing for a predetermined period of time, in response to determining that the execution entity is to be context switched out; tracking a cache access pattern of the execution entity during the predetermined period of time in which the execution entity continues to execute; saving information associated with the tracked cache access pattern; and switching out the execution entity after allowing the execution entity to continue executing for the predetermined period of time, said switching occ
- Claim 2Depends on #1
The method of claim 1 , wherein the information associated with the tracked cache access pattern includes at least one of addresses, page table entries, segment table e
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗