Questions from Operating Systems


Q: The VMS scheme discussed in the preceding problem is often referred to

The VMS scheme discussed in the preceding problem is often referred to as a ring protection structure, as illustrated in Figure 3.18 . Indeed, the simple kernel/user scheme, as described in Section 3....

See Answer

Q: Figure 3.8b suggests that a process can only be in

Figure 3.8b 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 examp...

See Answer

Q: What are the motivations for preemptive and nonpreemptive process migration?

What are the motivations for preemptive and nonpreemptive process migration?

See Answer

Q: What is the kernel of an OS?

What is the kernel of an OS?

See Answer

Q: It was pointed out that two advantages of using multiple threads within

It was pointed out that two advantages of using multiple threads within a process are that (1) less work is involved in creating a new thread within an existing process than in creating a new process...

See Answer

Q: The Solaris documentation states that a ULT may yield to another thread

The Solaris documentation states that a ULT may yield to another thread of the same priority. Isn’t it possible that there will be a runnable thread of higher priority, and that therefore the yield fu...

See Answer

Q: In Solaris 9 and Solaris 10, there is a one-

In Solaris 9 and Solaris 10, there is a one-to-one mapping between ULTs and LWPs. In Solaris 8, a single LWP supports one or more ULTs. a. What is the possible benefit of allowing a many-to-one mappi...

See Answer

Q: Explain the rationale for the Uninterruptible state in Linux.

Explain the rationale for the Uninterruptible state in Linux.

See Answer

Q: A computer has a cache, main memory, and a disk

A computer has a cache, main memory, and a disk used for virtual memory. If a referenced word is in the cache, 20 ns are required to access it. If it is in main memory but not in the cache, 60 ns are...

See Answer

Q: Suppose a stack is to be used by the processor to manage

Suppose a stack is to be used by the processor to manage procedure calls and returns. Can the program counter be eliminated by using the top of the stack as a program counter?

See Answer