Invention Grant
US08458721B2 System and method for implementing hierarchical queue-based locks using flat combining 有权
使用平面组合实现基于层次化的队列锁的系统和方法

System and method for implementing hierarchical queue-based locks using flat combining
Abstract:
The system and methods described herein may be used to implement a scalable, hierarchal, queue-based lock using flat combining. A thread executing on a processor core in a cluster of cores that share a memory may post a request to acquire a shared lock in a node of a publication list for the cluster using a non-atomic operation. A combiner thread may build an ordered (logical) local request queue that includes its own node and nodes of other threads (in the cluster) that include lock requests. The combiner thread may splice the local request queue into a (logical) global request queue for the shared lock as a sub-queue. A thread whose request has been posted in a node that has been combined into a local sub-queue and spliced into the global request queue may spin on a lock ownership indicator in its node until it is granted the shared lock.
Information query
Patent Agency Ranking
0/0