Invention Grant
- Patent Title: Efficient retry for transactional memory
- Patent Title (中): 高效重试事务记忆
-
Application No.: US11823211Application Date: 2007-06-27
-
Publication No.: US07890707B2Publication Date: 2011-02-15
- Inventor: Michael M. Magruder , David Detlefs , John Joseph Duffy , Goetz Graefe , Vinod K. Grover
- Applicant: Michael M. Magruder , David Detlefs , John Joseph Duffy , Goetz Graefe , Vinod K. Grover
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
Various technologies and techniques are disclosed for implementing retrying transactions in a transactional memory system. The system allows a transaction to execute a retry operation. The system registers for waits on every read in a read set of the retrying transaction. The retrying transaction waits for notification that something in the read set has changed. A transaction knows if notification is required in one of two ways. If the transactional memory word contained a waiters bit during write lock acquisition, then during release the transactional memory word is looked up in an object waiters map, and waiting transactions are signaled. If a writing transaction finds a global count of waiting transactions to be greater than zero after releasing write locks, a transaction waiters map is used to determine which waiting transactions need to be signaled. In each case, the write lock is released using a normal store operation.
Public/Granted literature
- US20090007070A1 Efficient retry for transactional memory Public/Granted day:2009-01-01
Information query