×

Optimization of data locks for improved write lock performance and CPU cache usage in multi core architectures

  • US 9,569,265 B2
  • Filed: 10/07/2014
  • Issued: 02/14/2017
  • Est. Priority Date: 10/07/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method for data access by a CPU, the method comprising the steps of:

  • (a) a reader performing a first writer-present flag status check, and if said first writer-present, flag status check determines that said writer-present flag is;

    (i) set, repeating said step of checking;

    or(ii) cleared, initially acquiring said read-lock,(b) subsequent to said initially acquiring said read-lock, said reader performing, a second writer-present flag status check, and(c) if said second writer-present flag status check determines that said writer present flag is;

    (i) set, releasing said read-lock and repeating said first writer-present flag status check;

    or(ii) cleared, maintaining said read-lock.

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