Virtual processor scheduling via memory monitoring
Abstract
Systems and methods for scheduling virtual processors via memory monitoring are disclosed. An example method comprises: detecting, by a hypervisor of a host computer system, an event associated with a virtual processor running on a physical processor of the host computer system; testing a polling flag residing in a memory accessible by guest software running on the virtual processor, wherein a first state of the polling flag indicates that the virtual processor is monitoring modifications to a memory region comprising a waiting task flag, and wherein the waiting task flag indicates whether a task has been queued for the virtual processor; setting the polling flag to a second state, wherein testing the polling flag and setting the polling flag to the second state is performed in an atomic operation; and processing the detected event.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: configuring, by a hypervisor of a host computer system, a virtual machine control structure (VMCS) associated with a virtual machine to allow the virtual machine execute memory monitoring instructions without triggering a virtual machine exit event; detecting, by the hypervisor, an event associated with a first virtual processor associated with the virtual machine; testing a polling flag residing in a memory accessible by guest software running on the first virtual processor, wherein a first state of the polling flag indicates that the first virtual processor is monitorin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,556,371 B2 | Hypervisor task execution management for virtual machines | 2023 | 0 |
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- "Atomicity-atomic operations and atomic transactions", https://stackoverflow.com/questions/15658828/atomic-operations-andatomic-transactions/2#2, posted on Mar. 27, 2013, pp. 1-2.
- “Atomicity—atomic operations and atomic transactions”, https://stackoverflow.com/questions/15658828/atomic-operations-andatomic-transactions/2#2, posted on Mar. 27, 2013, pp. 1-2.
- Somlo, Gabriel L., "Handling of Guest-Mode MONITOR and MWAIT", http://www.contrib.andrew.cmu.edu/-somlo/OSXKVM/mwait.html, Feb. 5, 2014, 3 pages.
- USPTO, Advisory Action for U.S. Appl. No. 15/439,606, dated Oct. 17, 2017.
- USPTO, Final Office Action for U.S. Appl. No. 15/439,606, dated Aug. 2, 2017.