发明名称 System and Method for Implementing Hierarchical Queue-Based Locks Using Flat Combining
摘要 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.
申请公布号 US2012311606(A1) 申请公布日期 2012.12.06
申请号 US201113152079 申请日期 2011.06.02
申请人 MARATHE VIRENDRA J.;SHAVIT NIR N.;DICE DAVID 发明人 MARATHE VIRENDRA J.;SHAVIT NIR N.;DICE DAVID
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址