Managing a spinlock indicative of exclusive access to a system resource
Abstract
One embodiment of the present invention sets forth a technique for synchronization between two or more processors. The technique implements a spinlock acquire function and a spinlock release function. A processor executing the spinlock acquire function advantageously operates in a low power state while waiting for an opportunity to acquire spinlock. The spinlock acquire function configures a memory monitor to wake up the processor when spinlock is released by a different processor. The spinlock release function releases spinlock by clearing a lock variable and may clear a wait variable.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing a spinlock to indicate exclusive access to a system resource, the method comprising: upon determining that a first processor is attempting to acquire the spinlock, raising an execution priority level associated with the first processor from an initial priority level to a high priority level; configuring a monitor circuit associated with the first processor to monitor a memory address associated with spinlock state data; testing a lock flag associated with the spinlock state data and determining that the spinlock is in a locked state; waiting in a low power state until the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (3)
- English Wikipedia regarding the term spinlock. Jun. 14, 2010.URL: http://web.archive.org/web/20100702054139/http://en.wikipedia.org/wiki/Spinlock (recorded by archive.org on Jul. 2, 2010; called on Jan. 28, 2013).
- German Examination Report dated Feb. 4, 2013, German Patent Application No. 102012215439.6.
- United Kingdom Combined Search and Examination Report dated Jan. 23, 2013, UK Patent Application No. GB1215472.0.