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.