Detecting spin loops in a virtual machine environment
Abstract
Embodiments of apparatuses, methods, and systems detecting spin loops in a virtual machine environment are disclosed. In one embodiment, an apparatus includes detection logic and virtualization logic. The detection logic is to detect whether a guest is executing a spin loop. The virtualization logic is to transfer control of the apparatus from the guest to a host in response to the detection logic detecting that the guest is executing the spin loop.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 11.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a hardware execution unit to execute a pause instruction; a time stamp counter to measure a current time the pause instruction is executed; detection logic to track a first value and a second value, the first value to indicate a first time the pause instruction is executed within a spin loop of a guest, the second value to indicate a most recent time the pause instruction is executed, and to detect whether the guest is in the spin loop based on a comparison of the difference between the current time and the second value to a threshold value and based on a comparison of
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Office Action received for Chinese Patent Application No. 200810100386.8, mailed on May 11, 2011, 7 pages of Chinese Office Action including 4 pages of English Translation.
- Office Action received for Chinese Patent Application No. 200810100386.8, mailed on Sep. 30, 2010, 8 pages of Chinese Office Action including 5 pages of English Translation.