Resetting memory locks in a transactional memory system
First Claim
1. A data processing system comprising:
- at least one memory;
a processor in communication with the at least one memory, the processor operable to execute instructions which cause the processor to;
set at least one new memory lock during execution of a transaction that acquires access to a region of memory, the new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region;
determine 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;
remove a memory lock from a tail position of the FIFO memory lock register;
reset the removed memory lock to return to a transactional memory state; and
add the new memory lock to a head position in the FIFO memory lock register.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and computer program product for resetting of memory locks in a transactional memory system. The system 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 system further includes the processor 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.
7 Citations
13 Claims
-
1. A data processing system comprising:
-
at least one memory; a processor in communication with the at least one memory, the processor operable to execute instructions which cause the processor to; set at least one new memory lock during execution of a transaction that acquires access to a region of memory, the new memory lock indicating that the transaction and its associated thread has exclusive temporary access to the memory region; determine 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; remove a memory lock from a tail position of the FIFO memory lock register; reset the removed memory lock to return to a transactional memory state; and add the new memory lock to a head position in the FIFO memory lock register. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer program product comprising:
-
a computer readable storage device; and program code on the computer readable storage device that executes within a processing device to provide the functionality of; setting at least one new memory lock during execution of a transaction that acquires access to a region of memory, the 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 new memory lock to a head position in the FIFO memory lock register. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification