3-sol - CHAPTER Processes 3 Practice Exercises 3.1 Palm OS...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
3 CHAPTER Processes Practice Exercises 3.1 Palm OS provides no means of concurrent processing. Discuss three major complications that concurrent processing adds to an operating system. Answer: a. A method of time sharing must be implemented to allow each of several processes to have access to the system. This method involves the preemption of processes that do not voluntarily give up the CPU (by using a system call, for instance) and the kernel beingreentrant(somorethanoneprocessmaybeexecutingkernel code concurrently). b. Processes and system resources must have protections and must be protected from each other. Any given process must be limited in the amount of memory it can use and the operations it can perform on devices like disks. c. Care must be taken in the kernel to prevent deadlocks between processes, so processes aren’t waiting for each other’s allocated resources. 3.2 The Sun UltraSPARC processor has multiple register sets. Describe the actions of a context switch if the new context is already loaded into one of the register sets. What else must happen if the new context is in
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

3-sol - CHAPTER Processes 3 Practice Exercises 3.1 Palm OS...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online