×

Power managed lock optimization

  • US 8,332,559 B2
  • Filed: 03/07/2012
  • Issued: 12/11/2012
  • Est. Priority Date: 05/13/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • a processor attempting to acquire a lock for a thread being executed;

    responsive to failing to acquire the lock, determining that at least one additional iteration of attempting to acquire the lock is permitted for the thread, wherein the determining is responsive to an iteration count that is updated in response to each iteration of attempting to acquire the lock, wherein the iteration count indicates a number of permitted iterations of attempting to acquire the lock;

    responsive to determining that the additional iteration is permitted, waiting for an event prior to initiating another iteration, wherein waiting for the event causes the processor to enter a low power state, reducing power consumption; and

    responsive to determining that the additional iteration is permitted, permitting the thread to remain scheduled on the processor.

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