Operating systems - william stalling 6th

Disponível somente no TrabalhosFeitos
  • Páginas : 107 (26653 palavras )
  • Download(s) : 0
  • Publicado : 15 de janeiro de 2013
Ler documento completo
Amostra do texto
SOLUTIONS MANUAL

OPERATING SYSTEMS: INTERNALS AND DESIGN PRINCIPLES
SIXTH EDITION

WILLIAM STALLINGS

Copyright 2008: William Stallings

© 2008 by William Stallings All rights reserved. No part of this document may be reproduced, in any form or by any means, or posted on the Internet, without permission in writing from the author. Selected solutions may be shared with students,provided that they are not available, unsecured, on the Web.
-2-

NOTICE

This manual contains solutions to the review questions and homework problems in Operating Systems, Sixth Edition. If you spot an error in a solution or in the wording of a problem, I would greatly appreciate it if you would forward the information via email to ws@shore.net. An errata sheet for this manual, if needed, isavailable at http://www.box.net/public/ig0eifhfxu . File name is S-OS6e-mmyy W.S.

-3-

TABLE OF CONTENTS

Chapter 1 Computer System Overview...............................................................5 Chapter 2 Operating System Overview.............................................................11 Chapter 3 Process Description andControl......................................................14 Chapter 4 Threads, SMP and Microkernels ......................................................19 Chapter 5 Concurrency: Mutual Exclusion and Synchronization .................24 Chapter 6 Concurrency: Deadlock and Starvation ..........................................37 Chapter 7 Memory Management .......................................................................46 Chapter 8 Virtual Memory..................................................................................51 Chapter 9 Uniprocessor Scheduling...................................................................59 Chapter 10 Multiprocessor and Real-Time Scheduling ..................................72 Chapter 11 I/O Management and Disk Scheduling ........................................77 Chapter 12 File Management..............................................................................83 Chapter 13 Embedded Operating Systems .......................................................87 Chapter 14 Computer Security Threats .............................................................92 Chapter 15 Computer Security Techniques ......................................................94 Chapter 16 DistributedProcessing, Client/Server, and Clusters................101 Chapter 17 Networking .....................................................................................104 Chapter 18 Distributed Process Management ................................................107 Appendix A Topics in Concurrency ................................................................110

-4-

CHAPTER 1 COMPUTER SYSTEMOVERVIEW A NSWERS
TO

Q UESTIONS

1.1 A main memory, which stores both data and instructions: an arithmetic and logic unit (ALU) capable of operating on binary data; a control unit, which interprets the instructions in memory and causes them to be executed; and input and output (I/O) equipment operated by the control unit. 1.2 User-visible registers: Enable the machine- or assembly-languageprogrammer to minimize main memory references by optimizing register use. For high-level languages, an optimizing compiler will attempt to make intelligent choices of which variables to assign to registers and which to main memory locations. Some highlevel languages, such as C, allow the programmer to suggest to the compiler which variables should be held in registers. Control and status registers: Usedby the processor to control the operation of the processor and by privileged, operating system routines to control the execution of programs. 1.3 These actions fall into four categories: Processor-memory: Data may be transferred from processor to memory or from memory to processor. Processor-I/O: Data may be transferred to or from a peripheral device by transferring between the processor and an...
tracking img