6.8 An integrated deadlock strategy


It will be more efficient to design an operating system that uses different deadlock strategies in different situations. One approach for this integrated strategy can be (William Stallings, (2012)):
Group resources into a number of different resource classes.
Use the deadlock prevention strategy to prevent deadlocks between resource classes.
Within a resource class, use the algorithm that is most appropriate for that class.