Cache locking device and methods thereof
Abstract
A method and device for locking a cache line of a cache is disclosed. The method includes automatically changing a state of a cache line from a valid locked state to an invalid locked state in response to receiving an indication that a memory location external to the cache and corresponding to the cache line is associated with an access request by a processor or other data access module. Thus, the locked state of a cache line is maintained even after data in the locked cache line is invalidated. By maintaining the invalid locked state, the cache line is not available for reallocation by the cache. This allows locked cache lines that become invalidated to remain locked without additional software overhead to periodically determine whether the lock has been lost due to invalidation of the cache line.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 11.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: receiving a first indication while a cache line at a cache is in a first state that a first memory location external to the cache corresponding to the cache line is associated with an access request, the first state indicating that the cache line is valid and locked; and in response to receiving the first indication, automatically changing the state of the cache line from the first state to a second state indicating that the data at the cache line is invalid and locked, the cache line unavailable for allocation to a second memory location when the cache line is invalid an
- Claim 2Depends on #1
The method of claim 1 , further comprising in response to execution of a first instruction at a first processor, changing the state of the cache line from a third state indicating data at the cache line is valid and unlocked to the first state.
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 (9)
Non-Patent Literature (1)
- International Search Report for corresponding PCT Application No. PCT/US2008/067225, mailed Feb. 19, 2009.