Method for preventing deadlock by suspending operation of processors, bridges, and devices
Abstract
A deadlock-avoidance system for a computer. In a multi-bus, multi-processor computer, one processor may request a lock on a bus, to execute a locked cycle, thereby blocking all other processors, and other agents, from access to the bus. In addition, a conflicting agent may, in effect, lock a resource which is needed by the processor to complete the cycle for which the lock was requested. These two locks can create a deadlock situation which stalls the computer: the processor and the conflicting agent have each locked a resource needed by the other. Under the invention, when a locked cycle is requested by a processor, all other operations are suspended in the computer. Then queues standing in memory controllers are emptied. If a process requested by an agent occupies a resource, such as a bridge, required by the requested locked cycle, that resource is freed. Then the locked cycle is executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 13.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising the following steps: a) maintaining a multi-bus. multi-processor computer; b) ascertaining whether a locked cycle of a predetermined type has been requested by a processor and, if so, c) suspending operation of all processors.
- Claim 2Depends on #1
Method according to claim 1 , and further comprising the step of draining queues in memory controllers after suspending operation of the processors.
- Claim 3Depends on #2
Method according to claim 2 , in which all queues in all memory controllers are drained.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗