Method and apparatus for handling locks
First Claim
Patent Images
1. A method comprising:
- selecting a first lock protocol if a lock is associated with a first memory type; and
selecting a second lock protocol if the lock is associated with a second memory type.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and device for determining an attribute associated with a locked load instruction and selecting a lock protocol based upon the attribute of the locked load instruction. Also disclosed is a method for concurrently executing the respective lock sequences associated with multiple threads of a processing device.
73 Citations
32 Claims
-
1. A method comprising:
-
selecting a first lock protocol if a lock is associated with a first memory type; and
selecting a second lock protocol if the lock is associated with a second memory type. - View Dependent Claims (2, 3)
-
-
4. A method comprising:
-
determining whether a memory type is associated with a locked μ
OP;
if the memory type is associated with the locked μ
OP, selecting a first lock protocol; and
if the memory type is not associated with the locked μ
OP, selecting a second lock protocol. - View Dependent Claims (5, 6, 7)
-
-
8. A method comprising:
-
determining whether a locked μ
OP is cacheable;
if the locked μ
OP is cacheable, selecting a cache lock protocol; and
if the locked μ
OP is not cacheable, selecting a bus lock protocol. - View Dependent Claims (9, 10)
-
-
11. A method comprising:
-
accessing a locked μ
OP;
selecting a lock protocol in response to a memory type associated with the locked μ
OP; and
executing the selected lock protocol. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A device comprising:
-
a local bus; and
a protocol selection unit coupled with the local bus, the protocol selection unit to select a first lock protocol if a lock is associated with a first memory type; and
select a second lock protocol if the lock is associated with a second memory type. - View Dependent Claims (17, 18, 19)
-
-
20. A device comprising:
-
a local bus; and
a protocol selection unit coupled with the local bus, the protocol selection unit to determine whether a memory type is associated with a locked μ
OP;
if the memory type is associated with the locked μ
OP, select a first lock protocol; and
if the memory type is not associated with the locked μ
OP, select a second lock protocol. - View Dependent Claims (21, 22, 23, 24, 25)
-
-
26. An article of manufacture comprising:
a medium having content that, when accessed by a device, causes the device to select a first lock protocol if a lock is associated with a first memory type; and
select a second lock protocol if the lock is associated with a second memory type. - View Dependent Claims (27, 28)
-
29. An article of manufacture comprising:
a medium having content that, when accessed by a device, causes the device to determine whether a memory type is associated with a locked μ
OP;
if the memory type is associated with the locked μ
OP, select a first lock protocol; and
if the memory type is not associated with the locked μ
OP, select a second lock protocol.- View Dependent Claims (30, 31)
-
32. The article of manufacture of claim 39, wherein the memory type corresponds to a memory address that is cacheable or a memory address that is not cacheable.
Specification