×

High Performance Real-Time Read-Copy Update

  • US 20110055183A1
  • Filed: 09/02/2009
  • Published: 03/03/2011
  • Est. Priority Date: 09/02/2009
  • Status: Active Grant
First Claim
Patent Images

1. In a multiprocessor computing machine having two or more processors, a memory operatively coupled to the processors, and at least one shared data element stored in the memory, the shared data element being accessible by data reader tasks (readers) and a data updater task (updater) executing concurrently on the processors in operating system kernel context, the readers being subject to preemption while referencing the shared data element in order to support realtime data processing operations, and the updater being capable of modifying or deleting the shared data element while preserving a pre-update view thereof until a grace period has expired signifying that all of the readers have passed through a quiescent state in which their pre-update references to the data element have been removed, a method for reducing reader overhead when referencing the shared data element while facilitating realtime-safe detection of grace periods, comprising:

  • each said reader maintaining a local per-reader quiescent state indicator that is manipulated by said reader when entering and leaving a read-side critical section in which said reader references said shared data element;

    said manipulating of said per-reader quiescent state indicator being performed by said reader without use of locks, atomic instructions, memory barriers, or disabling of preemption or interrupts; and

    implementing a first-level quiescent state detector that designates a processor on which said reader is running to be quiescent based on said per-reader quiescent state indicator for said reader being in a local quiescent state-indicating condition.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×