×

Apparatus for minimizing lock contention in a multiple processor system with multiple run queues when determining the threads priorities

  • US 6,981,260 B2
  • Filed: 06/05/2003
  • Issued: 12/27/2005
  • Est. Priority Date: 05/25/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. An arbitration apparatus for arbitrating exclusive access contention in a multiple processor system having a plurality of processors, the multiple processor system having a plurality of local run queues and at least a first global run queue, wherein each of the plurality of processors has an associated local run queue that is one of the plurality of local run queues, the arbitration apparatus comprising:

  • determining means for determining a priority of a thread at a head of the first global run queue without obtaining exclusive access;

    determining means for determining a priority of a thread at a head of a local run queue associated with a given processor without obtaining exclusive access;

    comparing means for comparing the priority of the thread at the head of the first global run queue and the priority of the thread at the head of the local run queue associated with the given processor;

    determining means for determining if the priority of the thread at the head of the first global run queue and the priority of the thread at the head of the local run queue associated with the given processor are the same;

    selecting means for selecting a run queue for dispatch by the given processor from the plurality of processors, wherein the run queue is selected from the local run queue associated with the given processor, and the first global run queue run queue associated with the given processor in response to the priorities being different, as determined by comparing the run queues without obtaining exclusive access;

    selecting means for selecting the local run queue associated with the given processor in response to the priorities being the same; and

    dispatching means for dispatching by the selected run queue.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×