Method to switch the lock-bits combination used to lock a page table entry upon receiving system reset exceptions
Abstract
A method, system, and computer instructions for changing the lock-bits combination used to lock a resource upon receiving a system reset exception. The present invention forces the software to use different lock-bits combinations based on the number of occurrences of system reset exceptions. When a system reset exception is received, a system reset exception bit value in a special purpose register is updated based on the history of system reset exception occurrences. Based on the updated value in the system reset exception bit, the lock-bits combination for locking a resource is changed to allow the data processing system to reuse the resource with bad lock-bits. In this manner, the deadlocked resource is resolved, and a processor is not able to obtain an indefinitely held lock on system resources caused by system reset exceptions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 4.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method in a data processing system for changing a lock-bits combination in a software lock to resolve a deadlock of a particular subset of a memory region within the data processing system, comprising: receiving a system reset exception; identifying the lock-bits combination to use in the software lock, wherein the lock-bits combination is identified based on a value of system reset exception occurrence bits retrieved from a memory location; and updating the software lock that is maintained in another memory location with the identified lock-bits combination, wherein updating the software lo
- Claim 2Depends on #1
The method of claim 1 , wherein the another memory location is an entry in a page table used to facili
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (5)
- "NN8803468: Hardware Lock Bits Stored in Array Chip", Mar. 1, 1988, IBM, IBM Technical Disclosure Bulletin, vol. 30, Iss. 10, pp. 468-469.
- "NN9108329: Modified Multiple Locking Facility", Aug. 1, 1991, IBM, IBM Technical Disclosure Bulletin, vol. 34, Iss. 3, pp. 329- 332.
- Herlihy et al., "Transactional Memory: Architectural Support for Lock-free Data Structures," May 16-19, 1993, IEEE, Proceedings of the 20th Annual International Symposium on Computer Architecture, pp. 289-300.
- Johnson et al., "A prioritized multiprocessor spin lock," Sep. 1997, IEEE, IEEE Transactions on Parallel and Distributed Systems, vol. 8, No. 9, pp. 926-933.
- Lortz et al., "Semaphore queue priority assignment for real-time multiprocessor synchronization," Oct. 1995, IEEE, IEEE Transactions on Software Engineering, vol. 21, No. 10, pp. 834-844.