Doubt

11 views
Skip to first unread message

SREEDHAR KARMAKAR

unread,
Apr 21, 2025, 10:42:33 AMApr 21
to Operating Systems for MTech/JRF (CS) students at ISI Kolkata
Sir, 
     in 24 end sem question no 1 , req[2,j]> need[2,j] for some j, what does the banker algorithm do in this scenario ? Also you asked in the question to show that all requests can be granted with no deadlock . Waiting for your reply .

Mandar Mitra

unread,
Apr 22, 2025, 4:32:05 AMApr 22
to SREEDHAR KARMAKAR, Operating Systems for MTech/JRF (CS) students at ISI Kolkata
SREEDHAR KARMAKAR wrote (Mon, Apr 21, 2025 at 07:42:33AM -0700):
> Sir,
> in 24 end sem question no 1 , req[2,j]> need[2,j] for some j, what
> does the banker algorithm do in this scenario ?

This was a mistake on my part. Please change max[2,2] to 5, and max[5,3] to 11. With these changes, you should be able to do both parts (a) and (b).

Please let me know if you still face problems.

-mandar
Reply all
Reply to author
Forward
0 new messages