ADAPTIVE HANDLING OF PRIORITY INVERSIONS USING TRANSACTIONS
First Claim
1. A computer-implemented method, comprising:
- receiving, at an operating system of a data processing system, a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system;
increasing a second priority of a second process to reduce total execution time, the second process currently in possession of the exclusive lock for performing a transactional operation with the resource, wherein the second priority was lower than a first priority of the first process; and
notifying the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.
1 Assignment
0 Petitions
Accused Products
Abstract
An operating system of a data processing system receives a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system. A second priority of a second process is increased to reduce total execution time. The second process is currently in possession of the exclusive lock for performing a transactional operation with the resource. The second priority was lower than a first priority of the first process. The operating system notifies the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter.
25 Citations
21 Claims
-
1. A computer-implemented method, comprising:
-
receiving, at an operating system of a data processing system, a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system; increasing a second priority of a second process to reduce total execution time, the second process currently in possession of the exclusive lock for performing a transactional operation with the resource, wherein the second priority was lower than a first priority of the first process; and notifying the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A non-transitory machine-readable medium having instructions stored therein, which when executed by a processor, cause the processor to perform a method, the method comprising:
-
receiving, at an operating system of a data processing system, a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system; increasing a second priority of a second process to reduce total execution time, the second process currently in possession of the exclusive lock for performing a transactional operation with the resource, wherein the second priority was lower than a first priority of the first process; and notifying the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A data processing system, comprising:
-
a processor; and a memory storing instructions, which when executed from the memory, cause the processor to receive at an operating system a request from a first process to acquire an exclusive lock for accessing a resource of the data processing system, increase a second priority of a second process to reduce total execution time, the second process currently in possession of the exclusive lock for performing a transactional operation with the resource, wherein the second priority was lower than a first priority of the first process, and notify the second process to indicate that another process is waiting for the exclusive lock to allow the second process to complete or roll back the transactional operation and to release the exclusive lock thereafter. - View Dependent Claims (18, 19, 20, 21)
-
Specification