Patents
US 7,971,248 B2#29097674 Most CitedActiveUnited States (USPTO)Utility

Tolerating and detecting asymmetric races

3Forward Citations (#29097674 Global)
0.2/yrCitation Velocity (#32796313 Global)
1.36Citation PageRank (#26684767 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Detecting and/or tolerating races. Races occur due to malicious threads not respecting software locks. A method of detecting and/or correcting races includes making local copie(s) and reference copie(s) of shared data. Any read and write operations performed by a safe thread are caused to be performed on the local copie(s) during a critical section. The critical section defines a time frame which a variable lock is placed on shared data. Any read and write operations performed by malicious threads are allowed to be performed on the shared data during the critical section. The shared data, the local copie(s), and the reference copie(s) are compared to determine that a race has been detected. An indication can be output that a race has occurred or the race can be corrected.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    In a computing environment supporting multi thread operations, where different threads can perform read and write operations on shared data, the environment including safe threads that are properly configured to use variable locks on shared variables, a method of detecting and/or tolerating races occurring due to malicious threads not respecting the locks, the method comprising; (a) making at least one local copy of the shared data that is used exclusively by a safe thread when performing read and write operations during a critical section and wherein the safe thread refrains from writing to t

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 5,095,423 ALocking mechanism for the prevention of race conditions199235
US 5,339,427 AMethod and apparatus for distributed locking of shared data, employing a central coupling facility1994241
US 6,343,371 B1System and method for statically detecting potential race conditions in multi-threaded computer programs200292
US 2003131283 A1Race detections for parallel software—67
US 2003140210 A1Dynamic and variable length extents—133
US 6,772,367 B1Software fault tolerance of concurrent programs using controlled re-execution200432
US 6,851,075 B2Race detection for parallel software200564
US 2005038806 A1Methods and apparatus for detecting data race conditions in message-based multi-threaded programs—41
US 2005216798 A1Method and system for detecting potential races in multithreaded programs—42
US 2005283781 A1Detecting data races in multithreaded computer programs—64
US 7,028,119 B2Automated tool for detection of potential race condition200632
US 2006159103 A1Providing access to data shared by packet processing threads—11
US 2006277551 A1Administration of locks for critical sections of computer programs in a computer that supports a multiplicity of logical partitions—44
US 2007186215 A1Concurrent Execution of Critical Sections by Eliding Ownership of Locks—33
US 2008162776 A1Identifying Race Conditions Involving Asynchronous Memory Updates—10
US 7,590,737 B1System and method for customized I/O fencing for preventing data corruption in computer system clusters200947
US 7,657,792 B2Identifying race conditions involving asynchronous memory updates20103

Non-Patent Literature (4)

  • Ashis Tarafdar and Vijay K. Garg, "Software Fault Tolerance of Concurrent Programs Using Controlled Re-execution", Lecture Notes in Computer Science; vol. 1693, Proceedings of the 13th International Symposium on Distributed Computing, 1999, pp. 210-224.
  • Eugene Tsyrklevich and Bennet Yee, "Dynamic Detection and Prevention of Race Conditions in File Accesses", Department of Computer Science and Engineering, University of California, San Diego, 12th USENIX Security Symposium, Aug. 2003, pp. 243-255.
  • Nels E. Beckman, "A Survey of Methods for Preventing Race Conditions", May 10, 2006, pp. 1-20.
  • Yuan Yu, Tom Rodeheffer, and Wei Chen, "RaceTrack: Efficient Detection of Data Race Conditions via Adaptive Tracking", SOSP '05, Oct. 2005.