Victim selection for deadlock detection
Abstract
A mechanism and system are described for either releasing held resources in the case of a deadlock or to postpone requests for resources when a potential deadlock is detected. One technique involves a three pass algorithm for selecting a candidate, where the candidate is either a possessory entity or resource is used. The three passes are as follows: (1) determining the subset of candidates, which have the CAN-BE-VICTIM flag set on; (2) If pass one results in a subset with more than one candidates in it, process that subset to determine a second subset of candidates based on resource priority associated with a resource type; (3) If the second pass results in a subset with more than one candidate in it, process that subset to select the candidate that has been running or held the shortest length of time.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for selecting a victim to be used during resolution of a deadlock, the method comprising the steps of: initially establishing a plurality of resources involved in said deadlock as a set of candidates to be said victim; performing a first filtering pass that removes candidates from said set based on CAN-BE-VICTIM flags associated with said candidates; if more than a single candidate remains in said set after said first filtering pass, then performing a second filtering pass that removes candidates from said set based on priorities associated with said candidates; and if more than a sin
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (2)
- A data Sharing tutorial, Jurt Ziegler, Jr. 1997, pp. 3-7.
- Marina Roesler, et al., "Efficient Deadlock Resolution for Lock-Based Concurrency Control Schemes," 1988, IEEE, pp. 224-233.