发明名称 SYSTEM AND METHOD FOR LOCK CACHING FOR COMPOUND ATOMIC OPERATIONS ON SHARED MEMORY
摘要 A system and method for lock caching for compound atomic operations (i.e. a read or write operation to more than one 4-byte word) on shared memory is provided. In a computer system including a memory shared among a plurality of processing entities, for example, multiple threads, a method of performing compound atomic operations comprises providing a pool of lacks for synchronizing access to the memory; assigning the locks among the plurality of entities to minimize lock contention; and performing the compound atomic operations using the assigned locks. Each lock may be assign ed in accordance with an address of the shared memory from the processing entity's compound atomic operations. Assigning locks may be performed in a manner to minimize concurrent atomic updates to the same or overlapping portions of th e shared memory. For example, the addresses of the memory from the compound atomic operations may be aliased in accordance with a known upper bound on the amou nt of the shared memory that may be affected by any atomic operation.
申请公布号 CA2435148(A1) 申请公布日期 2005.01.15
申请号 CA20032435148 申请日期 2003.07.15
申请人 IBM CANADA LIMITED - IBM CANADA LIMITEE 发明人 BLAINEY, ROBERT J.;SILVERA, RAUL E.
分类号 G06F9/22;G06F9/46;G06F9/52;G06F12/00;G06F12/14;G06F13/18;G06F15/167;(IPC1-7):G06F15/167 主分类号 G06F9/22
代理机构 代理人
主权项
地址