Reputation: 553
Can it is possible for a process to request more resources then it's need in Banker Algorithm ? Does such request will considered valid or feasible, if safe sequence exists ?
Upvotes: 2
Views: 3796
Reputation: 553
No, a process cannot be allowed to request more that its declared maximum need.
Reason: The Banker's algorithm uses the max need of each process while determining safety of a request. If a process is allowed to request more than max need resources, then paths that were considered to be safe during some previous allocations might become unsafe. So the safety analysis would collapse.
P.S. This answer is given by Dhananjay Dhamdhere https://www.cse.iitb.ac.in/~dmd/
Thanks sir, for resolving my query.
Upvotes: 0