×

System for indicating and scheduling additional execution time based on determining whether the execution unit has yielded previously within a predetermined period of time

  • US 8,024,739 B2
  • Filed: 01/09/2007
  • Issued: 09/20/2011
  • Est. Priority Date: 01/09/2007
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method, comprising:

  • requesting, by an execution unit, a first additional execution time from a kernel to prevent the execution unit from being swapped out during an execution of a critical section, wherein the first additional execution time comprises a limited amount of extra time indicated by the execution unit;

    determining, by the kernel, whether the execution unit has previously avoided yielding execution to other execution units within a predetermined period of time after being allocated a second additional execution time in response to at least one previous request for the second additional execution time, wherein the second additional execution time is allocated prior to the requesting of the first additional execution time;

    allocating, by the kernel, the first additional execution time to the execution unit after providing a temporary increase in a priority of the execution unit, in response to determining that the execution unit has not previously avoided yielding execution to the other execution units within the predetermined period of time after being allocated the second additional execution time in response to the at least one previous request for the second additional execution time;

    maintaining a first indicator in the kernel, wherein the first indicator indicates whether the execution unit has previously avoided yielding execution to the other execution units within the predetermined period of time after being allocated the second additional execution time in response to the at least one previous request for the second additional execution time; and

    maintaining at least one second indicator that indicates whether the first additional time has been granted by the kernel to the execution unit.

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