发明申请
US20090172299A1 System and Method for Implementing Hybrid Single-Compare-Single-Store Operations
有权
实现混合单一比较 - 单店操作的系统和方法
- 专利标题: System and Method for Implementing Hybrid Single-Compare-Single-Store Operations
- 专利标题(中): 实现混合单一比较 - 单店操作的系统和方法
-
申请号: US11967358申请日: 2007-12-31
-
公开(公告)号: US20090172299A1公开(公告)日: 2009-07-02
- 发明人: James R. Goodman , Mark S. Moir , Fu'ad W. F. Al Tabba' , Cong Wang
- 申请人: James R. Goodman , Mark S. Moir , Fu'ad W. F. Al Tabba' , Cong Wang
- 主分类号: G06F12/00
- IPC分类号: G06F12/00 ; G06F12/16 ; G06F12/14
摘要:
A hybrid Single-Compare-Single-Store (SCSS) operation may exploit best-effort hardware transactional memory (HTM) for good performance in the case that it succeeds, and may transparently resort to software-mediated transactions if the hardware transactional mechanisms fail. The SCSS operation may compare a value in a control location to a specified expected value, and if they match, may store a new value in a separate data location. The control value may include a global lock, a transaction status indicator, and/or a portion of an ownership record, in different embodiments. If another transaction in progress owns the data location, the SCSS operation may abort the other transaction or may help it complete by copying the other transactions' write set into its own right set before acquiring ownership. A hybrid SCSS operation, which is usually nonblocking, may be applied to building software transactional memories (STMs) and/or hybrid transactional memories (HyTMs), in some embodiments.
公开/授权文献
信息查询