System for indicating and scheduling additional execution time based on determining whether the execution unit has yielded previously within a predetermined period of time
First Claim
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.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and article of manufacture, wherein an execution unit requests additional execution time from a kernel to prevent the execution unit from being swapped out during an execution of a critical section. The kernel determines whether the execution unit has previously avoided yielding execution to other execution units within a predetermined period of time after being allocated the additional execution time in response to at least one previous request for the additional execution time. The kernel allocates the additional execution time to 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 additional execution time in response to the at least one previous request for the additional execution time.
-
Citations
20 Claims
-
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 Dependent Claims (2, 3, 4, 5)
-
-
6. A system, comprising:
-
memory; and processor coupled to the memory, wherein the processor executes operations, the operations 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 Dependent Claims (7, 8, 9, 10)
-
-
11. A computer readable storage, wherein code stored in the computer readable storage when executed by a computer causes operations, the operations 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 Dependent Claims (12, 13, 14, 15)
-
-
16. A method for deploying computing infrastructure, comprising integrating computer-readable code into a computer, wherein the code in combination with the computer performs:
-
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 Dependent Claims (17, 18, 19, 20)
-
Specification