Patents
US 6,996,812 B2#248909 Most CitedExpiredUnited States (USPTO)Utility

Software implementation of synchronous memory barriers

98Forward Citations (#248909 Global)
4.9/yrCitation Velocity (#292516 Global)
9.60Citation PageRank (#1134838 Global)
12Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

Selectively emulating sequential consistency in software improves efficiency in a multiprocessing computing environment. A writing CPU uses a high priority inter-processor interrupt to force each CPU in the system to execute a memory barrier. This step invalidates old data in the system. Each CPU that has executed a memory barrier instruction registers completion and sends an indicator to a memory location to indicate completion of the memory barrier instruction. Prior to updating the data, the writing CPU must check the register to ensure completion of the memory barrier execution by each CPU. The register may be in the form of an array, a bitmask, or a combining tree, or a comparable structure. This step ensures that all invalidates are removed from the system and that deadlock between two competing CPUs is avoided. Following validation that each CPU has executed the memory barrier instruction, the writing CPU may update the pointer to the data structure.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A method for selectively emulating sequential consistency in software comprising: (a) forcing each CPU to execute a memory barrier instruction; and (b) having each CPU send an indicator communicating completion of said memory barrier instruction.

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the step of forcing each CPU to execute a memory barrier instruction includes sending an interprocessor interrupt to all CPUs.

  3. Claim 3Depends on #2

    The method of claim 2 , further comprising avoiding deadlock by having each CPU that is waiting for other CPUs to execute said memory barrier instruction continuously satisfy concurrent memory barrier execution requests.

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

PatentTitleYearCitations
US 8,856,796 B2Methods and system for executing a program in multiple execution environments20142
US 9,875,148 B2Detecting deadlocks involving inter-processor interrupts20180
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 2009292705 A1Efficient support of consistent cyclic search with read-copy update and parallel updates—35
US 9,417,875 B2Cooperative thread array reduction and scan operations20160
US 9,251,074 B2Enabling hardware transactional memory to work more efficiently with readers that can tolerate stale data20160
US 2009254764 A1Optimizing Preemptible Read-Copy Update for Low-Power Usage by Avoiding Unnecessary Wakeups—17
US 2007226440 A1Read-copy-update (RCU) operations with reduced memory barrier usage—23
US 8,055,860 B2Read-copy-update (RCU) operations with reduced memory barrier usage201138
US 8,108,696 B2Optimizing non-preemptible read-copy update for low-power usage by avoiding unnecessary wakeups201237
US 2010023732 A1Optimizing non-preemptible read-copy update for low-power usage by avoiding unnecessary wakeups—12
US 7,984,202 B2Device directed memory barriers201123

References Cited — Backward Prior Art (12)

PatentTitleYearCitations
US 5,155,832 AMethod to increase performance in a multi-level cache system by the use of forced cache misses199234
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,530,804 ASuperscalar processor with plural pipelined execution units each unit selectively having both normal and debug modes1996176
US 5,608,893 AMethod for maintaining data coherency using thread activity summaries in a multicomputer system1997171
US 5,636,363 AHardware control structure and method for off-chip monitoring entries of an on-chip cache199754
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 5,796,996 AProcessor apparatus and its control method for controlling a processor having a CPU for executing an instruction according to a control program199812
US 6,055,605 ATechnique for reducing latency of inter-reference ordering using commit signals in a multiprocessor system having shared caches2000175
US 6,085,263 AMethod and apparatus for employing commit-signals and prefetching to maintain inter-reference ordering in a high-performance I/O processor2000110
US 6,088,771 AMechanism for reducing latency of memory barrier operations on a multiprocessor system2000132
US 6,131,155 AProgrammer-visible uncached load/store unit having burst capability200062
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

Non-Patent Literature (1)

  • Sites and Witek,"Alpha AXP Architecture Reference Manual", Second Edition, Digital Press., 1995, pp. 5-1-5-27.