System and method for delayed priority boost
First Claim
1. A computer implemented method for adjusting a priority of an execution thread, said method comprising:
- indicating that the execution thread needs a higher priority by updating a user mode accessible data area, the indicating performed without increasing a priority corresponding to the execution thread;
detecting a preemption event;
reading the user mode accessible data area in response to the detected preemption event; and
shifting the execution thread'"'"'s priority based upon the user mode accessible data.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method is provided for delaying a priority boost of an execution thread. When a thread prepares to enter a critical section of code, such as when the thread utilizes a shared system resource, a user mode accessible data area is updated indicating that the thread is in a critical section and, if the kernel receives a preemption event, the priority boost that the thread should receive. If the kernel receives a preemption event before the thread finishes the critical section, the kernel applies the priority boost on behalf of the thread. Often, the thread will finish the critical section without having to have its priority actually boosted. If the thread does receive an actual priority boost then, after the critical section is finished, the kernel resets the thread'"'"'s priority to a normal level.
-
Citations
20 Claims
-
1. A computer implemented method for adjusting a priority of an execution thread, said method comprising:
-
indicating that the execution thread needs a higher priority by updating a user mode accessible data area, the indicating performed without increasing a priority corresponding to the execution thread;
detecting a preemption event;
reading the user mode accessible data area in response to the detected preemption event; and
shifting the execution thread'"'"'s priority based upon the user mode accessible data. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An information handling system comprising:
-
one or more processors;
a memory accessible by the processors;
a nonvolatile storage device accessible by the processors;
a preemptive multitasking operating system controlling access by execution threads to the processors; and
a delayed priority tool for a delayed priority boost to the execution threads, the delayed priority tool comprising;
means for indicating that the execution thread needs a higher priority by updating a user mode accessible data area, the indicating performed without increasing a priority corresponding to the execution thread;
means for detecting a preemption event;
means for reading the user mode accessible data area in response to the detected preemption event; and
means for shifting the execution thread'"'"'s priority based upon the user mode accessible data. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer program product stored in a computer operable media for adjusting a priority of an execution thread, said computer program product comprising:
-
means for means for indicating that the execution thread needs a higher priority by updating a user mode accessible data area, the indicating performed without increasing a priority corresponding to the execution thread;
means for detecting a preemption event;
means for reading the user mode accessible data area in response to the detected preemption event; and
means for shifting the execution thread'"'"'s priority based upon the user mode accessible data. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification