DocumentCode
1255913
Title
An extended banker´s algorithm for deadlock avoidance
Author
Lang, Sheau-Dong
Author_Institution
Sch. of Comput. Sci., Univ. of Central Florida, Orlando, FL, USA
Volume
25
Issue
3
fYear
1999
Firstpage
428
Lastpage
432
Abstract
We describe a natural extension of the banker´s algorithm (D.W. Dijkstra, 1968) for deadlock avoidance in operating systems. Representing the control flow of each process as a rooted tree of nodes corresponding to resource requests and releases, we propose a quadratic-time algorithm which decomposes each flow graph into a nested family of regions, such that all allocated resources are released before the control leaves a region. Also, information on the maximum resource claims for each of the regions can be extracted prior to process execution. By inserting operating system calls when entering a new region for each process at runtime, and applying the original banker´s algorithm for deadlock avoidance, this method has the potential to achieve better resource utilization because information on the “localized approximate maximum claims” is used for testing system safety
Keywords
computational complexity; concurrency control; flow graphs; resource allocation; allocated resources; control flow; deadlock avoidance; extended banker algorithm; flow graph; localized approximate maximum claims; maximum resource claims; nested family of regions; operating system calls; operating systems; process execution; quadratic-time algorithm; resource requests; resource utilization; rooted tree; system safety testing; Data mining; Flow graphs; Operating systems; Resource management; Runtime; Safety; Software algorithms; System recovery; System testing; Tree graphs;
fLanguage
English
Journal_Title
Software Engineering, IEEE Transactions on
Publisher
ieee
ISSN
0098-5589
Type
jour
DOI
10.1109/32.798330
Filename
798330
Link To Document