Optimized iterators for RCU-protected skiplists
AssigneeInternational Business Machines Corporation
InventorsPaul E. McKenney, Manuel Mayr
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsPaul E. McKenney, Manuel Mayr
Estimating the term…
An optimized skiplist iterator technique for RCU-protected skiplists. A skiplist iterator operation may attempt to validate a cached pointer hint that references a skiplist element of an RCU-protected skiplist, the skiplist element having an associated first key. If the pointer hint is validated, the pointer hint may be dereferenced to access the skiplist element. A pointer in the skiplist element may be dereferenced to advance to a next skiplist element of the RCU-protected skiplist, the next skiplist element having an associated second key that is larger than the first key. If the pointer hint is not validated, a value-based skiplist iterator operation may be performed that includes traversing the RCU-protected skiplist using the first key to find the next skiplist element having the second key. A new pointer hint that references the next skiplist element may be cached for use in a next invocation of the skiplist iterator operation.
An optimized skiplist iterator method for read-copy update (RCU)-protected skiplists, comprising:
A system, comprising:
A computer program product, comprising:
Dependencies are inferred from the claim text.