System for delaying priority boost in a priority offset amount only after detecting of preemption event during access to critical section
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
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 and the indicating including setting a critical section flag within the user mode accessible data indicating that the execution thread is entering a critical section of code; updating a priority offset amount prior to the execution thread entering the critical section of code, whereupon the prior
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (4)
- "Deterministic Priority Inversion Method for Personal Computers," IBM Technical Disclosure Bulletin, May 1995, vol. 38, No. 05, p. 271-276.
- "Lock priority boosting in an MP system with multiple run queues," IBM Research Disclosure, Jan. 2001, p. 174.
- "Providing an Application with Limited Control of Preemption," IBM Technical Disclosure Bulletin, Sep. 1995, vol. 38, No. 09, p. 187-188.
- Fiske et al., "Thread Prioritization: a thread scheduling mechanism for multiple-context parallel processors," High-Performance Computer Architecture, Jan. 1995, p. 210-221.