Patents
US 7,395,263 B2#650571 Most CitedExpiredUnited States (USPTO)Utility

Realtime-safe read copy update with lock-free readers

61Forward Citations (#650571 Global)
3.4/yrCitation Velocity (#684569 Global)
4.90Citation PageRank (#3430002 Global)
14Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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 pair of counters is established for each of one or more processors. A global counter selector determines which counter of each per-processor counter pair is a current counter. When reading a shared data element at a processor, the processor's current counter is incremented. Following counter incrementation, the processor's counter pair is tested for reversal to ensure that the incremented counter is still the current counter. If a counter reversal has occurred, such that the incremented counter is no longer current, the processor's other counter is incremented. Following referencing of the shared data element, any counter that remains incremented is decremented. Following an update to the shared data element wherein a pre-update version of the element is maintained, the global counter selector is switched to establish a new current counter of each per-processor counter pair. The non-current counter of each per-processor counter pair is tested for zero. The shared data element's pre-upd

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 61.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method 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 are removed, comprising: establishing a pair of counters for each of one or more processors; establishing a global counter selector that determines which counter of each per-processor counter pair is a current counter; when reading a shared data element at a processor: incrementing the current counter of said processor's counter pair that corresponds to said global counter selector; testing for reversal of said processor's count

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 61 total)

PatentTitleYearCitations
US 10,146,579 B2Enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping RCU grace periods finite20182
US 8,938,631 B2Energy efficient implementation of read-copy update for light workloads running on systems with many processors201515
US 10,459,762 B2Enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping RCU grace periods finite20190
US 9,389,925 B2Achieving low grace period latencies despite energy efficiency20162
US 9,251,074 B2Enabling hardware transactional memory to work more efficiently with readers that can tolerate stale data20160
US 7,669,015 B2Methods and apparatus to implement parallel transactions201025
US 8,869,166 B2Effective management of blocked-tasks in preemptible read-copy update20143
US 9,262,234 B2Expedited module unloading for kernel modules that execute read-copy update callback processing code20160
US 10,268,610 B1Determining whether a CPU stalling a current RCU grace period had interrupts enabled20198
US 10,372,510 B2Using expedited grace periods to short-circuit normal grace-period computations20190
US 9,600,349 B2TASKS—RCU detection of tickless user mode execution as a quiescent state20170
US 9,015,133 B2Optimized resizing for RCU-protected hash tables20150
US 2007198979 A1Methods and apparatus to implement parallel transactions—121
US 10,146,577 B2Enabling real-time CPU-bound in-kernel workloads to run infinite loops while keeping RCU grace periods finite20180
US 9,183,156 B2Read-copy update implementation for non-cache-coherent systems20151

References Cited — Backward Prior Art (14)

PatentTitleYearCitations
US 5,442,758 AApparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring1995339
US 5,608,893 AMethod for maintaining data coherency using thread activity summaries in a multicomputer system1997171
US 5,727,209 AApparatus and method for achieving reduced overhead mutual-exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring1998157
US 6,182,107 B1Management of reference object lifetimes in object oriented programs200134
US 6,219,690 B1Apparatus and method for achieving reduced overhead mutual exclusion and maintaining coherency in a multiprocessor system utilizing execution history and thread monitoring2001144
US 6,360,220 B1Lock-free methods and systems for accessing and storing information in an indexed computer data structure having modifiable entries2002225
US 6,581,063 B1Method and apparatus for maintaining a linked list2003136
US 6,615,216 B1Lock free data structure maintenance200357
US 6,668,310 B2High speed counters200324
US 6,760,726 B1System and method of managing concurrent operations on linked lists200410
US 6,785,888 B1Memory allocator for a multiprocessor computer system200472
US 7,287,135 B2Adapting RCU for real-time operating system usage200772
US 7,349,926 B2Atomic renaming and moving of data files while permitting lock-free look-ups200840
US 7,353,346 B2Read-copy-update (RCU) operations with reduced memory barrier usage200871

Non-Patent Literature (5)

  • Ben Gamsa et al., "Tornado: Maximizing Locality and Concurrency in a Shared Memory Multiprocessor Operating System" 1999.
  • 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.
  • J. Seigh, "RCU+SMR for preemptive kemel/user threads," Linux Kernel Mailing List, May 9, 2005, 2 pages.
  • M. Michael, "Hazard Pointers: Safe Memory Reclamation for Lock-Free Objects," IEEE Transactions On Parallel And Distributed Systems, Jun. 2004, vol. 15, No. 6, pp. 491-504.