×

Apparatus, method and computer program product for converting simple locks in a multiprocessor system

  • US 6,842,809 B2
  • Filed: 04/12/2001
  • Issued: 01/11/2005
  • Est. Priority Date: 04/12/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of locking a system resource in a multiprocessor system, comprising:

  • attempting to obtain a lock on the system resource;

    associating a hand-off lock with the lock on the system resource if the attempt to obtain the lock is unsuccessful, wherein the hand-off lock includes a plurality of pre-processor spin fields, each pre-processor spin field being associated with one processor in the multiprocessor system and identifying a memory location dedicated to that one processor, and wherein only the one processor may spin on the memory location identified by the processor'"'"'s corresponding dedicated per-processor spin field at any one time; and

    obtaining the hand-off lock on the system resource if the attempt to obtain the lock on the system resource is unsuccessful, wherein obtaining the hand-off lock includes spinning on the memory location identified by the per-processor spin field for an associated processor.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×