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 significantly reduces 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: 24 · Forward citations: 38.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computerized system comprising: a plurality of processors; memory accessible by the processors; one or more updating tasks to update contents of a section of the memory by using a first set and a second set of per-processor counters, a first set and a second set of per-processor need-memory-barrier bits, and a global flip-counter bit specifying which of the first set or the 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; and, one or more reading tasks to read the contents of the section of the memory by using t
- Claim 2Independent Claim
An article of manufacture comprising: a tangible computer-readable medium; and, means in the m
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 38 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- D. Sarma et al., "Making Rcu safe for deep sub-millisecond response realtime applications," 2004 USENIX (UseLinux), Jun. 2004.
- 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.
- P. McKenney et al., "Read-copy update," 2001 Ottawa Linux Symposium presentation.