|
Allocated |
Maximum |
Need |
PA |
10211 |
11212 |
01001 |
PB |
20110 |
22210 |
02100 |
PC |
11010 |
21310 |
10300 |
PD |
11110 |
11221 |
00111 |
AND Available $00X11$
Lets take first X=1
Then $00111$ now using this you can perform PD, Then allocated Resources to PD will be free....So.
New Avail :: $11110+00111 = 11221$
Now using this free resources you can perform PA..... Then allocated Resources to PA will be free.. So
New Avail:: $10211+11221 = 21432$
Allocate this avail resources to PC.
After execution of PC avail resources are:: $11010+ 21432=32442$
then allot this to PB.
So, value of should be 1.
@Mizuki Execution processes is -> PD,PA,PC,PB