1. A method, comprising: requesting, by an execution unit, additional execution time from a kernel to prevent the execution unit from being swapped out during an execution of a critical section; 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 the additional execution time in response to at least one previous request for the additional execution time; and allocating, by the kernel, 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.