Quad aware locking primitive
First Claim
1. A computer system comprising:
- multiple processors;
a lock selected from the group consisting of;
an interruptible lock, and a lock which waits using only local memory; and
a hierarchical representation of processor organization; and
a lock primitive for processing the lock responsive to the hierarchy, wherein said primitive further comprises a handoff flag to grant a lock to a processor requesting an unconditional lock from a processor requesting a conditional lock.
0 Assignments
0 Petitions
Accused Products
Abstract
A method and computer system for efficiently handling high contention locking in a multiprocessor computer system. At least some of the processors in the system are organized into a hierarchy, and process an interruptible lock in response to the hierarchy. The method utilizes two alternative methods of acquiring the lock, including a conditional lock acquisition primitive and an unconditional lock acquisition primitive, and an unconditional lock release primitive for releasing the lock from a particular processor. To prevent races between processors requesting a lock acquisition and a processor releasing the lock, a release flag is utilized. Furthermore, in order to ensure that the a processor utilizing the unconditional lock acquisition primitive is granted the lock, a handoff flag is utilized.
-
Citations
20 Claims
-
1. A computer system comprising:
-
multiple processors; a lock selected from the group consisting of;
an interruptible lock, and a lock which waits using only local memory; anda hierarchical representation of processor organization; and a lock primitive for processing the lock responsive to the hierarchy, wherein said primitive further comprises a handoff flag to grant a lock to a processor requesting an unconditional lock from a processor requesting a conditional lock. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer system comprising:
-
multiple processors; a lock selected from the group consisting of;
an interruptible lock, and a lock which waits using only local memory;a hierarchical representation of processor organization; and a lock primitive for processing the lock responsive to the hierarchy, wherein said primitive further comprises a release flag to prevent races between acquisition and release of the lock. - View Dependent Claims (7, 8, 9, 10)
-
-
11. An article comprising:
-
a computer-readable signal bearing medium; multiple processors; means in the medium for hierarchically organizing at least some of the processors of a computer system; means in the medium for providing a lock selected from the group consisting of;
an interruptible lock, and a lock which waits using only local memory; andmeans in the medium for processing the lock responsive to the hierarchy, wherein said means is a release flag responsive to races between acquisition and release of a lock. - View Dependent Claims (12, 13, 14, 15)
-
-
16. An article comprising:
-
a computer-readable signal bearing medium; multiple processors; means in the medium for hierarchically organizing at least some of the processors of a computer system; means in the medium for providing a lock selected from the group consisting of;
an interruptible lock, and a lock which waits using only local memory; andmeans in the medium for processing the lock responsive to the hierarchy, wherein said means is a handoff flag responsive to a processor requesting an unconditional lock from a processor requesting a conditional lock. - View Dependent Claims (17, 18, 19, 20)
-
Specification