System and method for employing a process identifier to minimize aliasing in a linear-addressed cache
Abstract
A system and method for reducing linear address aliasing is described. In one embodiment, a portion of a linear address is combined with a process identifier, e.g., a page directory base pointer to form an adjusted-linear address. The page directory base pointer is unique to a process and combining it with a portion of the linear address produces an adjusted-linear address that provides a high probability of no aliasing. A portion of the adjusted-linear address is used to search an adjusted-linear-addressed cache memory for a data block specified by the linear address. If the data block does not reside in the adjusted-linear-addressed cache memory, then a replacement policy selects one of the cache lines in the adjusted-linear-addressed cache memory and replaces the data block of the selected cache line with a data block located at a physical address produced from translating the linear address. The tag for the cache line selected is a portion of the adjusted linear address and the physical address produced from translating the linear address.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 6.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: hashing a process identifier unique to a process with a linear address to form an adjusted-linear address; comparing the adjusted-linear address with a tag associated with each cache line of a plurality of cache lines to determine whether the adjusted-linear address is included in the tag; and transmitting a data block corresponding to a cache line to a processor, if the adjusted-linear address is included in the tag corresponding to the cache line of the plurality of cache lines.
- Claim 2Depends on #1
The method of claim 1 , further comprising: determining whether a first physical address stored within the tag matches a second physical address generated by translating the linear address; and transmitting the data block to the processor, if the first physical address stored within the tag matches the second physical address.
- Claim 3Independent Claim
The metho
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- http://searchdatabase.techtarget.com/sDefinition/O,,sid13_gci212230,00.html.
- http://www.rsasecurity.com/rsalabs/faq/2-1-6.html.
- Ivan B. D{dot over (amgard, A design priniciple for hash functions, Advances in Cryptology-Crypto '89, Springer-Verlag (1990) 416 427.
- Ralph C. Merkle, One way hash functions and DES, Advances in Cryptology-Crypto '89, Springer-Verlag (1990) 428-446.
- www.webopedia.com/TERM/H/hashing.html, dated Nov. 25, 1997.