1,838 views

1 Answer

1 votes
1 votes
We allocate all process with $m-1$ resources (one less than maximum requirement ).

So if we have $p*(m-1)$ resources we can have deadlock. When we have one more resource its guaranteed to be deadlock free.

So $ r ≥ p(m − 1) + 1$

Related questions

374
views
0 answers
2 votes
admin asked Oct 30, 2019
374 views
One way to eliminate circular wait is to have rule saying that a process is entitled only to a single resource at any moment. Give an example to show that this restriction is unacceptable in many cases.
2.3k
views
2 answers
1 votes
admin asked Oct 30, 2019
2,270 views
A system has four processes and five allocatable resources. The current allocation and maximum needs are as follows:What is the smallest value of x for which this is a safe state?
1.3k
views
1 answers
0 votes
admin asked Oct 30, 2019
1,319 views
The banker's algorithm is being run in a system with $m$ resource classes and $n$ processes. In the limit of large $m$ and $n,$ the number of operations that must be performed to ... to $m^{a} n^{b}.$ What are the values of $a$ and $b?$
634
views
0 answers
0 votes
admin asked Oct 30, 2019
634 views
Suppose that process $A$ in Fig. 6-12 requests the last tape drive. Does this action lead to a deadlock?