Realtime-safe read copy update with per-processor read/write locks
Abstract
A technique for realtime-safe detection of a grace period for deferring the destruction of a shared data element until pre-existing references to the data element have been removed. A per-processor read/write lock is established for each of one or more processors. When reading a shared data element at a processor, the processor's read/write lock is acquired for reading, the shared data element is referenced, and the read/write lock that was acquired for reading is released. When starting a new grace period, all of the read/write locks are acquired for writing, a new grace period is started, and all of the read/write locks are released.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 55.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A data processing system having one or more processors, a memory and a communication pathway between the one or more processors and the memory, said system being adapted perform realtime-safe detection of a grace period for deferring removal of a shared data element until pre-existing references to the data element are removed, and comprising: a read/write lock for each of said one or more processors; a read lock/unlock component adapted to: acquire said processor's read/write lock for reading prior to said shared data element being referenced; and release said read/write lock that was acq
- Claim 2Independent Claim
A system in accordance with c
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 55 total)
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- B. Gamsa, "Tornado: Maximizing Locality and Concurrency in a Shared Memory Multiprocessor Operating System," 1999, 14 pages.
- D. Sarma et al., "Making RCU Safe for Deep Sub-Millisecond Response Realtime Applications," 2004 USENIX (UseLinux track) Jun. 2004, 9 pages.
- H. Linder et al., "Scalability of the Directory Entry Cache," 2002 Ottawa Linux Symposium, Jun. 26, 2002, pp. 289-300.
- H. S. Stone et al., "Scheme for Controlling Concurrent Algorithms that Update Linked Data Structures," IBM Technical Disclosure Bulletin v. 36 No. 10 (Oct. 1993), pp. 437-440.
- J. Seigh, "RCU+SMR for preemptive kernel/user threads," Linux Kernel Mailing List, May 9, 2005, 2 pages.