Question: Please write a full answer and explain it well 6. (?11%) Processes A, B, and C use a non-sharable, non-preemptable resource type for which 9

Please write a full answer and explain it well
6. (?11%) Processes A, B, and C use a non-sharable, non-preemptable resource type for which 9 instances exist in the system. The processes announce their maximum resource usage as follows: A: max (6), B: max (8), C: max(4). (X: max(n) specifies that process X will never request and use more than n resource instances.) Then, the processes make the following resource allocation requests that are successfully granted: A: alloc (2), B: alloc(3), C: alloc (2). (X: alloc(n) specifies that process X requests n resource instances with the aim of using them.) (a) Is the resulting state a safe state? Justify your answer! (6%) Now (after the above requests have been granted), process A reieases one instance of the resource: A: release (1) and after that, B requests two further instances of the resource: B: alloc(2) (b) Use the bankers algorithm to decide whether the system should grant the request of B for two further resources or not. If the allocation request is not to be granted: what action is appropriate on the scheduler level concerning process B? (5%)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
