Hardware instructions implementing mutual exclusion
Provide mainly two hardware instructions and their definitions which are used in order to implement the mutual exclusion.
Expert
Test and Set are those two hardware instructions used to implement the mutual exclusion: boolean TestAndSet (boolean &target) { boolean rv = target; target = true; return rv; } Swap void Swap (boolean &a, boolean &b) { boolean temp = a; a = b; b = temp; }
Explain what do you meant by the term overlay.
Define the term PSW.
What method does the Kernel in Unix System V follow while selecting a swap device between the multiple swap devices?
Explain cache memory?
Specify some of the various file attributes.
Explain the following: a) Adaptive mutex. b) Turnstile.
Explain the following algorithm: a) First Come, First Served Scheduling. b) Shortest Job First Scheduling. c) Priority Scheduling.
Explain the critical section problem?
Write down the various states of the process that are available?
Explain the aim of memory management?
18,76,764
1939440 Asked
3,689
Active Tutors
1451258
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!