Lecture23 24
Lecture23 24
1. How much of each resource each process could possibly request [Max]
2. How much of each resource each process is currently holding
[ALLOCATED]
3. How much of each resource the system currently has available
[AVAILABLE]
For P3
Available resources – P3(Need)
<5,3,2> - <0,1,1> = <5,2,1>
For P2
Available resources – P2(Need)
<7,4,5> - <6,0,0> = <1,4,5>
We then pretend that this request has been fulfilled, and we arrive
at the following new state:
Allocation Need Available
ABC ABC ABC
P0 0 1 0 743 230
P1 302 020
P2 301 600
P3 211 011
P4 002 431
We must determine whether this new system state is safe.