Resetting memory locks in a transactional memory system
First Claim
1. A computer implemented method of managing locks within a memory system, the method comprising:
- a processor setting at least one new memory lock during execution of a transaction that acquires access to a region of memory, the at least one new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region;
determining if a first in first out (FIFO) memory lock register is full of memory locks; and
in response to the FIFO memory lock register being full;
removing a memory lock from a tail position of the FIFO memory lock register;
resetting the removed memory lock to return to a transactional memory state; and
adding the at least one new memory lock to a head position in the FIFO memory lock register.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for resetting of memory locks in a transactional memory system. The method includes a processor setting at least one new memory lock during execution of a transaction that acquires access to a region of memory. The new memory lock indicates that the transaction and its associated thread have exclusive temporary access to the memory region. The method further includes determining if a first in first out (FIFO) memory lock register is full of memory locks and, in response to the FIFO memory lock register being full, a memory lock is removed from a tail position of the FIFO memory lock register. The removed memory lock is reset to return to a transactional memory state and the new memory lock is added to a head position in the FIFO memory lock register.
-
Citations
7 Claims
-
1. A computer implemented method of managing locks within a memory system, the method comprising:
-
a processor setting at least one new memory lock during execution of a transaction that acquires access to a region of memory, the at least one new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region; determining if a first in first out (FIFO) memory lock register is full of memory locks; and in response to the FIFO memory lock register being full; removing a memory lock from a tail position of the FIFO memory lock register; resetting the removed memory lock to return to a transactional memory state; and adding the at least one new memory lock to a head position in the FIFO memory lock register. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification