Invention Grant
US08666952B2 Optimized deletion and insertion for high-performance resizable RCU-protected hash tables
失效
优化的高性能可调整RCU保护哈希表的删除和插入
- Patent Title: Optimized deletion and insertion for high-performance resizable RCU-protected hash tables
- Patent Title (中): 优化的高性能可调整RCU保护哈希表的删除和插入
-
Application No.: US13455220Application Date: 2012-04-25
-
Publication No.: US08666952B2Publication Date: 2014-03-04
- Inventor: Paul E. McKenney , Joshua A. Triplett
- Applicant: Paul E. McKenney , Joshua A. Triplett
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Walter W. Duft
- Main IPC: G06F7/00
- IPC: G06F7/00 ; G06F17/00 ; G06F13/14

Abstract:
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.
Public/Granted literature
- US20130151811A1 Optimized Deletion And Insertion For High-Performance Resizable RCU-Protected Hash Tables Public/Granted day:2013-06-13
Information query