发明名称 Optimized Deletion And Insertion For High-Performance Resizable RCU-Protected Hash Tables
摘要 Concurrent resizing and modification of a first RCU-protected hash table includes allocating a second RCU-protected hash table, populating it by linking each hash bucket of the second hash table to all hash buckets of the first hash table containing elements that hash to the second hash table bucket, and publishing the second hash table. If the modifying comprises insertion, a new element is inserted at the head of a corresponding bucket in the second hash table. If the modifying comprises deletion, then within an RCU read-side critical section: (1) all pointers in hash buckets of the first and second hash tables that reference the element being deleted are removed or redirected, and (2) the element is freed following a grace period that protects reader references to the deleted element. The first table is freed from memory after awaiting a grace period that protects reader references to the first hash table.
申请公布号 US2013151489(A1) 申请公布日期 2013.06.13
申请号 US201113314240 申请日期 2011.12.08
申请人 MCKENNEY PAUL E.;TRIPLETT JOSHUA A.;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 MCKENNEY PAUL E.;TRIPLETT JOSHUA A.
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址