Lazy flushing of translation lookaside buffers
Abstract
Address translation control (ATC) limits the mappings between virtual and physical addresses in order to implement a memory access policy. Each processor in a multi-processor system maintains a translation lookaside buffer (TLB) that caches mappings to speed translation of virtual addresses. Each processor also maintains a counter. Each time a processor's TLB is flushed, the processor's counter is incremented. When a link to a page is removed from an address translation map, the counter values for all of the processors are recorded. When that page is accessed by a processor, the recorded counter values are compared with the processor's current counter value to determine whether the processor's TLB has been flushed since the link to the page was removed from the map. An expensive TLB flush operation is delayed until needed, but still occurs early enough to prevent an invalid TLB entry from being used to violate the access policy.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of clearing obsolete entries from a first one of a plurality of mapping caches, each of the plurality of mapping caches being associated with a corresponding one of a plurality of processing units of a computing device, each of the caches being used to translate virtual addresses to physical addresses and storing mappings based on an address translation map, the method comprising: maintaining a counter; updating said counter each time the first one of the plurality of mapping caches is flushed; recording said counter's value in response to a change in the address translation map,
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Bugnion, E. et al., "Disco:Running Commodity Operating Systems on Scalable Multiprocessors", Proceedings of the 16<SUP>th </SUP>Symposium on Operating Systems Principles (SOSP), Oct. 1997, 1-14.
- Coffing, C.L., "An x86 Protected Mode Virtual Machine Monitor for the MIT Exokernel", Submitted to the Department of Electrical Engineering and Computer Science at the Massachusetts Institute of Technology, May 1999, 109 pages.
- Goldberg, R.P., "Survey of Virtual Machine Research", Computer , Jun. 1974, 34-45.
- Matsuoka, H. et al., "Memory System for the Massively Parallel Computer RWC-1", Information Processing Society of Japan, Aug. 20, 1993, 93(71), 17-24.
- Popek, G.J. et al., "Formal Requirements for Virtualizable Third Generation Architectures", Communications of the ACM, Jul. 1974, 17(7), 412-421.