Consider the following figure of a process image PCB Process ID State Program Counter Memory pointers...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Consider the following figure of a process image PCB Process ID State Program Counter Memory pointers Contextdata Others E SP PSW Program Code Static/Global Heap Stack Memory Note that during a process switch, the dispatcher does not include the memory pointers when saving the execution context. a. Explain why this is the correct behavior if the OS is operating under the 5-state process model (Figure 3.6 of textbook). b. Suppose the OS is operating under the 7-state process model (Figure 3.9(b) of textbook), describe how the OS should interact with the memory pointers when there are Suspend states in the model. Consider the following figure of a process image PCB Process ID State Program Counter Memory pointers Contextdata Others E SP PSW Program Code Static/Global Heap Stack Memory Note that during a process switch, the dispatcher does not include the memory pointers when saving the execution context. a. Explain why this is the correct behavior if the OS is operating under the 5-state process model (Figure 3.6 of textbook). b. Suppose the OS is operating under the 7-state process model (Figure 3.9(b) of textbook), describe how the OS should interact with the memory pointers when there are Suspend states in the model.
Expert Answer:
Answer rating: 100% (QA)
ANS FiveState Process Model is an extension of the TwoState Model The twostage model is efficient if all the processes in the Notrunning state are ready for execution but this may not be true Some pro... View the full answer
Related Book For
Operating Systems Internals and Design Principles
ISBN: 978-0133805918
8th edition
Authors: William Stallings
Posted Date:
Students also viewed these operating system questions
-
Blossom, Incorporated, is a small company that manufactures three versions of patio tables. Unit information for its products follows: Table A Table B Table C Sales price $ 5 4 $ 5 8 $ 7 2 Direct...
-
What is the Passive communication Style ? Example of Passive communication Style? Passive communication Style: Positive Impact on Communication? Passive communication Style: Negative Impact on...
-
This problem is set in a fanciful location, but it deals with a very practical issue that concerns residents of this earth. The question is, In a Democracy, when can we expect that a majority of...
-
Which annotations will trigger a compiler error if incorrectly applied to a method with no other annotations? (Choose three.) A. @Documented B. @Deprecated C. @SuppressWarnings("unchecked") D....
-
Find G(jw) if the amplitude characteristic fir this function is shown in fig 11.33.
-
Pam Corporation acquired its 90 percent interest in Sun Corporation at its book value of $3,600,000 on January 1, 2016, when Sun had capital stock of $3,000,000 and retained earnings of $1,000,000....
-
Thirty-six percent of U.S. adults have postponed medical checkups or procedures to save money. You randomly select nine U.S. adults. Find the probability that the number of U.S. adults who have...
-
The Lexington Property Development Company has a $10,000 note receivable from a customer due in three years. How much is the note worth today if the interest rate is a. 9%? b. 12% compounded monthly?...
-
Pina is a manufacturer with a purpose: it creates durable, yet affordable, duffel bags with many functional pockets and accessories to encourage people of all ages to travel. In the process of making...
-
Personal Mini Warehouses is planning to expand its successful Nashua business into Lowell. In doing so, the company must determine how many storage rooms of each size to build. The problem has been...
-
Tesla's entry into South Africa for building the business. 1. What are the positionings of Tesla in South America? Explain consumer age groups, buying power, consumption habits, customer purchasing...
-
apply one process theory to describe how the needs of a specific team member might be met. (Any theory selected must be applied in its entirety , e.g., if you use Expectancy theory, you will address...
-
What do you think the role of police officers should be in schools? Defend your position with examples.
-
Consider a Hotelling linear city where four firms simulta- neously decide their own locations 0 0, 1 (i=1,2,3,4) to sell their products. Suppose that one-ninth of consumers lives at a location z =...
-
What do you know about dramatic theory and symbolic interaction?
-
A small printing firm CreateUrCards is currently keeping its accounting records in paper journals and ledgers. It is a very tedious way to maintain records and a new staff member (Jesse) at...
-
A car is traveling on a flat circular track of radius 200m at 20 m/s and has a centripetal acceleration a = 4.5m/s (a) If the mass of the car is 1000 kg, what frictional force is required to provide...
-
APC16550D UART has a clock running at18.432 MHz and its baud rate is set to 2000.Determine the HEX contents of its DLM and DLL registers. Please can you explain step by step and in detail how you get...
-
Figure suggests that a process can only be in one event queue at a time. a. Is it possible that you would want to allow a process to wait on more than one event at the same time? Provide an example....
-
Maximum urgency first (MUF) is a real-time scheduling algorithm for periodic tasks. Each task is assigned an urgency that is defined as a combination of two fixed priorities and one dynamic priority....
-
For the processing model of Figure, briefly define each state. Dispatch Admit Release New Ready Running Exit Time-out Event Event wait occurs Blocked
-
Assume a gain margin of 20 dB and a plant with a nominal gain of 50/sec. Assume also that the minimum GM of the system is specified to 10 dB. To what maximum value of gain can the plant climb under...
-
Name three benefits of using software R/D conversion compared with hardware R/D converters.
-
Correcting for reversal error correction and deadband compensation are special cases of what general technique?
Study smarter with the SolutionInn App