Invention Grant
US09015133B2 Optimized resizing for RCU-protected hash tables 有权
RCU保护哈希表优化调整大小

Optimized resizing for RCU-protected hash tables
Abstract:
A technique for resizing a first RCU-protected hash table stored in a memory. A second RCU-protected hash table is allocated in the memory as a resized version of the first hash table having a different number of hash buckets, with the hash buckets being defined but initially having no hash table elements. The second hash table is populated by linking each hash bucket thereof to all hash buckets of the first hash table containing elements that hash to the second hash bucket. The second hash table is then published so that it is available for searching by hash table readers. The first table is freed from memory after waiting for a grace period which guarantees that no readers searching the first hash table will be affected by the freeing.
Public/Granted literature
Information query
Patent Agency Ranking
0/0