Read-copy-update (RCU) operations with reduced memory barrier usage
Abstract
Read-copy-update (RCU) is performed within real-time and other types of systems, such that memory barrier usage within RCU is reduced. A computerized system includes processors, memory, updaters, and readers. The updaters update contents of a section of the memory by using first and second sets of per-processor counters, first and second sets of per-processor need-memory-barrier bits, and a global flip-counter bit. The global flip-counter bit specifies which of the first or second set of the per-processor counters and the per-processor need-memory-barrier bits is a current set, and which is a last set. The readers read the contents of the section of the memory by using the first and second sets of per-processor counters, the first and second sets of per-processor need-memory-barrier bits, and the global flip-counter bit, in a way that eliminates the need for memory barriers during such read operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 51.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: to update contents of a section of memory, copying a global flip-counter bit to a local flip-counter bit, the global flip-counter bit specifying which of a first set of per-processor counters and a second set of per-processor counters is a current set of per-processor counters and which is a last set of per-processor counters, the global flip-counter-bit also specifying which of a first set of per-processor need-memory-barrier bits and a second set of per-processor need-memory-barrier bits is a current set of per-processor need-memory-barrier bits and which is a last set o
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 51 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (5)
- D. Sarma et al., "Making RCU safe for deep sub-millisecond response realtime applications," 2004 USENIX (UseLinux), Jun. 2004.
- Gamsa et al, "Tornado: Maximizing Locality and Cocnurrency in a Shared Memory Multiprocessor Operating System", 1999.
- H. Linder et al., "Scalability of the directory entry cache," 2002 Ottawa Linux Symposium paper.
- J. Seigh, "RCU + SMR for preemptive kernel/user threads," Linux kernel mailing list, http://lkml.org, May 9, 2005.
- M. Michael, "Hazard pointers: Safe memory reclamation for lock-free objects," IEEE Trans. on Parallel & Distributed Sys., vol. 15, No. 6, Jun. 2004.