Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Similar documents
Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

Contents. 1.1 What Operating Systems Do Computer-System Organization Computer-System Architecture 12. Operating-System Structures

CONTENTS. Computer-System Structures

UNIT I. Introduction to OS& System Structures

CSI3131 Final Exam Review

COURSE PLAN Regulation: R11 FACULTY DETAILS: Department::

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT I

QUESTION BANK UNIT I

JBIET. Dept of IT. Operating Systems III B.Tech -I Sem. Department of Information Technology

Institute of Engineering & Management. Course:CS603- Operating System. Course pre-requisites

SNS COLLEGE OF ENGINEERING

3 rd Year V Semester

Syllabus CSCI 405 Operating Systems Fall 2018

CIS 21 Final Study Guide. Final covers ch. 1-20, except for 17. Need to know:


KINGS COLLEGE OF ENGINEERING DEPARTMENT OF INFORMATION TECHNOLOGY QUESTION BANK

Operating System(16MCA24)

Department of Information Technology Operating Systems Question Bank YEAR/SEM:III/V

Main Points of the Computer Organization and System Software Module

MODERN OPERATING SYSTEMS

OPERATING SYSTEMS INTERNALS AND DESIGN PRINCIPLES. William Stallings SIXTH EDITION. Pearson Education International. Prentice Hall

CSE 421/521 - Operating Systems Fall Lecture - XXV. Final Review. University at Buffalo

SYED AMMAL ENGINEERING COLLEGE CS6401- OPERATING SYSTEM

CHAPTER NO - 1 : Introduction:

CLASS: II YEAR / IV SEMESTER CSE SUBJECT CODE AND NAME: CS6401 OPERATING SYSTEMS UNIT I OPERATING SYSTEMS OVERVIEW

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF COMPUTER APPLICATIONS COURSE PLAN

Sistemas Operacionais I. Valeria Menezes Bastos

Department of Computer applications. [Part I: Medium Answer Type Questions]

Operating System Design

Final Review. Quiz-5 Solutions. Tevfik Koşar

Announcements. Final Exam. December 10th, Thursday Patrick Taylor Hall. Chapters included in Final. 8.

SAZ4B/SAE5A Operating System Unit : I - V

Linux Kernel Architecture

CSE 4/521 Introduction to Operating Systems. Lecture 27 (Final Exam Review) Summer 2018

Operating System Architecture. CS3026 Operating Systems Lecture 03

Chendu College of Engineering & Technology

Operating Systems Comprehensive Exam. Spring Student ID # 3/20/2013

CTP203 Operating Systems Syllabus

MC7204 OPERATING SYSTEMS

Professional Multicore Programming. Design and Implementation for C++ Developers

GUJARAT TECHNOLOGICAL UNIVERSITY B.E Semester: 4 Information Technology

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System

Course Contents/Syllabus: Weightage (%) Module I: Introduction to operating system: 15

To Everyone... iii To Educators... v To Students... vi Acknowledgments... vii Final Words... ix References... x. 1 ADialogueontheBook 1

Operating Systems, Spring 2015 Course Syllabus

Lecture Topics. Announcements. Today: Threads (Stallings, chapter , 4.6) Next: Concurrency (Stallings, chapter , 5.

VALLIAMMAI ENGINEERING COLLEGE

PART -A. UNIT -1 INTRODUCTION TO OPERATING SYSTEMS, SYSTEM STRUCTURES: What operating

MARUTHI SCHOOL OF BANKING (MSB)

Device-Functionality Progression

Chapter 12: I/O Systems. I/O Hardware

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad COMPUTER SCIENCE AND ENGINEERING QUESTION BANK OPERATING SYSTEMS

Course Description: This course includes the basic concepts of operating system

Chapter 13: I/O Systems

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

CSE 4/521 Introduction to Operating Systems. Lecture 24 I/O Systems (Overview, Application I/O Interface, Kernel I/O Subsystem) Summer 2018

CSE 4/521 Introduction to Operating Systems. Lecture 29 Windows 7 (History, Design Principles, System Components, Programmer Interface) Summer 2018

Final Exam Preparation Questions

CS350: Final Exam Review

Integrated Approach. Operating Systems COMPUTER SYSTEMS. LEAHY, Jr. Georgia Institute of Technology. Umakishore RAMACHANDRAN. William D.

Processes The Process Model. Chapter 2. Processes and Threads. Process Termination. Process Creation

390 Chapter 8 Main Memory

Chapter 13: I/O Systems

Chapter 13: I/O Systems

Chapter 13: I/O Systems. Chapter 13: I/O Systems. Objectives. I/O Hardware. A Typical PC Bus Structure. Device I/O Port Locations on PCs (partial)

Department of Computer Science and Technology

Processor : Intel Pentium D3.0 GigaHtz

Processes The Process Model. Chapter 2 Processes and Threads. Process Termination. Process States (1) Process Hierarchies

Subject: Operating System (BTCOC403) Class: S.Y.B.Tech. (Computer Engineering)

Operating Systems CMPSC 473 Midterm 2 Review April 15, Lecture 21 Instructor: Trent Jaeger

Linux Operating System

PESIT SOUTHCAMPUS. Question Bank

Installing and Administering a Satellite Environment

Operating System: Chap13 I/O Systems. National Tsing-Hua University 2016, Fall Semester

CS4411 Intro. to Operating Systems Final Fall points 10 pages

ROEVER ENGINEERING COLLEGE, PERAMBALUR DEPARTMENT OF INFORMATION TECHNOLOGY OPERATING SYSTEMS QUESTION BANK UNIT-I

Midterm Exam. October 20th, Thursday NSC

Introduction to Software Engineering: The evolving role of software, Changing Nature of Software, Software myths.

Lecture 15: I/O Devices & Drivers

POSIX Threads: a first step toward parallel programming. George Bosilca

Process Description and Control


SPOS MODEL ANSWER MAY 2018

CS307 Operating Systems Introduction Fan Wu

UNIT I Linux Utilities

Chapter 2: Operating-System Structures. Operating System Concepts 8 th Edition

Guru Ghasidas Vishwavidyalaya (Bilaspur ) BSC(Third Semester) Examination, 2014 Introduction to Operating System Paper Code: PCSC-301.

INSTITUTE OF AERONAUTICAL ENGINEERING

Distributed Deadlock Detection

Process Description and Control. Chapter 3

November 13, Networking/Interprocess Communication (25 pts)

Today: Protection! Protection!

1. Draw and explain program flow of control without and with interrupts. [16]

Operating Systems (1DT020 & 1TT802)

Running on the Bare Metal with GeekOS

Chapter 2 Software Components

Windows 7 Overview. Windows 7. Objectives. The History of Windows. CS140M Fall Lake 1

Embedded Linux Architecture

Transcription:

Contents PART ONE Chapter 1 Introduction OVERVIEW 1.1 What Operating Systems Do 3 1.2 Computer-System Organization 6 1.3 Computer-System Architecture 12 1.4 Operating-System Structure 18 1.5 Operating-System Operations 20 1.6 Process Management 23 1.7 Memory Management 24 1.8 Storage Management 25 Chapter 2 Operating-System Structures 2.1 Operating-System Services 47 2.2 User Operating-System Interface 50 2.3 System Calls 53 2.4 Types of System Calls 56 2.5 System Programs 64 2.6 Operating-System Design and Implementation 66 2.7 Operating-System Structure 68 1.9 Protection and Security 29 1.10 Distributed Systems 30 1.11 Special-Purpose Systems 31 1.12 Computing Environments 34 1.13 Open-Source Operating Systems 37 1.14 Summary 40 Exercises 42 Bibliographical Notes 45 2.8 Virtual Machines 74 2.9 Operating-System Debugging 82 2.10 Operating-System Generation 86 2.11 System Boot 87 2.12 Summary 88 Exercises 89 Bibliographical Notes 95 PART TWO Chapter 3 Processes 3.1 Process Concept 99 3.2 Process Scheduling 103 3.3 Operations on Processes 108 3.4 Interprocess Communication 114 3.5 Examples of IPC Systems 121 PROCESS MANAGEMENT 3.6 Communication in Client Server Systems 126 3.7 Summary 132 Exercises 133 Bibliographical Notes 143 xvii

xviii Contents Chapter 4 Threads 4.1 Overview 145 4.2 Multithreading Models 149 4.3 Thread Libraries 151 4.4 Threading Issues 157 4.5 Operating-System Examples 163 4.6 Summary 166 Exercises 166 Bibliographical Notes 173 Chapter 5 CPU Scheduling 5.1 Basic Concepts 175 5.2 Scheduling Criteria 179 5.3 Scheduling Algorithms 180 5.4 Thread Scheduling 191 5.5 Multiple-Processor Scheduling 194 5.6 Operating System Examples 198 5.7 Algorithm Evaluation 205 5.8 Summary 210 Exercises 211 Bibliographical Notes 215 Chapter 6 Process Synchronization 6.1 Background 217 6.2 The Critical-Section Problem 219 6.3 Peterson s Solution 221 6.4 Synchronization Hardware 223 6.5 Semaphores 226 6.6 Classic Problems of Synchronization 232 6.7 Monitors 236 6.8 Synchronization Examples 245 6.9 Deadlocks 249 6.10 Summary 258 Exercises 259 Bibliographical Notes 273 PART THREE MEMORY MANAGEMENT Chapter 7 Main Memory 7.1 Background 277 7.2 Swapping 284 7.3 Contiguous Memory Allocation 286 7.4 Paging 290 7.5 Structure of the Page Table 299 7.6 Segmentation 304 7.7 Example: The Intel Pentium 307 7.8 Summary 311 Exercises 312 Bibliographical Notes 316 Chapter 8 Virtual Memory 8.1 Background 319 8.2 Demand Paging 323 8.3 Copy-on-Write 329 8.4 Page Replacement 331 8.5 Allocation of Frames 344 8.6 Thrashing 348 8.7 Memory-Mapped Files 352 8.8 Allocating Kernel Memory 358 8.9 Other Considerations 361 8.10 Operating-System Examples 367 8.11 Summary 370 Exercises 371 Bibliographical Notes 379

PART FOUR Contents STORAGE MANAGEMENT xix Chapter 9 File-System Interface 9.1 File Concept 383 9.2 Access Methods 392 9.3 Directory and Disk Structure 395 9.4 File-System Mounting 406 9.5 File Sharing 408 9.6 Protection 413 9.7 Summary 418 Exercises 419 Bibliographical Notes 421 Chapter 10 File-System Implementation 10.1 File-System Structure 423 10.2 File-System Implementation 426 10.3 Directory Implementation 432 10.4 Allocation Methods 433 10.5 Free-Space Management 441 10.6 Efficiency and Performance 444 10.7 Recovery 448 10.8 Summary 452 Exercises 453 Bibliographical Notes 455 Chapter 11 11.1 Overview of Mass-Storage Structure 457 11.2 Disk Structure 460 11.3 Disk Attachment 461 11.4 Disk Scheduling 462 11.5 Disk Management 468 Mass-Storage Structure 11.6 Swap-Space Management 472 11.7 RAID Structure 474 11.8 Summary 483 Exercises 485 Bibliographical Notes 491 Chapter 12 I/O Systems 12.1 Overview 493 12.2 I/O Hardware 494 12.3 Application I/O Interface 503 12.4 Kernel I/O Subsystem 509 12.5 Transforming I/O Requests to Hardware Operations 516 12.6 STREAMS 518 12.7 Performance 520 12.8 Summary 523 Exercises 524 Bibliographical Notes 526 PART FIVE PROTECTION AND SECURITY Chapter 13 Protection 13.1 Goals of Protection 529 13.2 Principles of Protection 530 13.3 Domain of Protection 531 13.4 Access Matrix 536 13.5 Implementation of Access Matrix 540 13.6 Access Control 543 13.7 Revocation of Access Rights 544 13.8 Capability-Based Systems 545 13.9 Summary 548 Exercises 549 Bibliographical Notes 551

xx Contents Chapter 14 Security 14.1 The Security Problem 553 14.2 Program Threats 557 14.3 System and Network Threats 565 14.4 Cryptography as a Security Tool 570 14.5 User Authentication 581 14.6 An Example: Windows 586 14.7 Summary 587 Exercises 588 Bibliographical Notes 589 PART SIX CASE STUDIES Chapter 15 The Linux System 15.1 Linux History 595 15.2 Design Principles 600 15.3 Kernel Modules 603 15.4 Process Management 606 15.5 Scheduling 609 15.6 Memory Management 614 15.7 File Systems 623 15.8 Input and Output 629 15.9 Interprocess Communication 631 15.10 Network Structure 633 15.11 Security 635 15.12 Summary 637 Exercises 638 Bibliographical Notes 639 Chapter 16 Windows 7 16.1 History 641 16.2 Design Principles 643 16.3 System Components 650 16.4 Terminal Services and Fast User Switching 674 16.5 File System 675 16.6 Networking 681 16.7 Programmer Interface 686 16.8 Summary 695 Exercises 696 PART SEVEN APPENDICES Appendix A A.1 UNIX History A1 A.2 Design Principles A6 A.3 Programmer Interface A8 A.4 User Interface A15 A.5 Process Management A18 A.6 Memory Management A22 The FreeBSD System (contents online) A.7 File System A24 A.8 I/O System A32 A.9 Interprocess Communication A35 A.10 Summary A40 Exercises A41 Bibliographical Notes A42 Appendix B The Mach System (contents online) B.1 History of the Mach System B1 B.2 Design Principles B3 B.3 System Components B4 B.4 Process Management B7 B.5 Interprocess Communication B13 B.6 Memory Management B18 B.7 Programmer Interface B23 B.8 Summary B24 Exercises B25 Bibliographical Notes B26

Contents xxi Appendix C C.1 History C1 C.2 Design Principles C2 C.3 System Components C3 C.4 Environmental Subsystems C19 C.5 File System C21 C.6 Networking C28 Windows 2000 (contents online) C.7 Programmer Interface C33 C.8 Summary C40 Exercises C40 Exercises C40 Bibliographical Notes C41 Bibliographical Notes 697 Bibliography (contents online) 699 Credits 723 Index 725