... and
is the unit of work in a modern time-sharing system. Such a system consists of a collection
of processes: Operating- system processes executing system code and user processes executing
user code. ... errors possible on a system.
3.7 What is the purpose of system calls?
Answer: System calls allow user-level processes to request services of the operating sys-
tem.
3.8 Using system calls, write ... more
reliable operating system.
3.13 What is the main advantage for an operating- system designer of using a virtual-machine
architecture? What is the main advantage for a user?
Answer: The system is...
... System Calls 62
2.4 Types of System Calls 66
2.5 System Programs 74
2.6 Operating- System Design and
Implementation 75
2.7 Operating- System Structure 78
2.8 Operating- System Debugging 86
2.9 Operating- System ... Open-Source Operating Systems 43
1.13 Summary 47
Exercises 49
Bibliographical Notes 52
Chapter 2 Operating- System Structures
2.1 Operating- System Services 55
2.2 User and Operating- System
Interface ... 1 Introduction
1.1 What Operating Systems Do 4
1.2 Computer -System Organization 7
1.3 Computer -System Architecture 12
1.4 Operating- System Structure 19
1.5 Operating- System Operations 21
1.6...
... code.
Silberschatz, Galvin and Gagne 2002
1.1
Operating System Concepts
Chapter 1: Introduction
■ What is an Operating System?
■ Mainframe Systems
■ Desktop Systems
■ Multiprocessor Systems
■ ... Distributed Systems
■ Clustered System
■ Real -Time Systems
■ Handheld Systems
■ Computing Environments
Silberschatz, Galvin and Gagne 2002
1.12
Operating System Concepts
Parallel Systems
■ Multiprocessor ... 2002
2.9
Operating System Concepts
Device-Status Table
xiv Contents
Chapter 3 Operating- System Structures
3.1 System Components 55
3.2 Operating- System Services 61
3.3 System Calls 63
3.4 System Programs...
... ready queue to be run
A.2
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
Module A: The FreeBSD System
Module A: The FreeBSD System
UNIX History
Design ... â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
Mapping File System to Physical Devices
Mapping File System to Physical Devices
A.22
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts ... completely)
A.44
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
File
File
-
-
System Control Blocks
System Control Blocks
A.7
Silberschatz, Galvin...
... C.25
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
File I/O
File I/O
C.36
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, ...
background
C.31
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
File System
File System
The fundamental structure of the 2000 file system (NTFS) is ... addressing schemes
C.33
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 11, 2005
File System
File System
—
—
Recovery
Recovery
All file system data structure...
... Chapter 2
2.4
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Jan 14, 2005
Operating System Services
Operating System Services
One set of operating- system services ... 2.29
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Jan 14, 2005
Layered Operating System
Layered Operating System
2.24
Silberschatz, Galvin and Gagne â2005
Operating ... â2005
Operating SystemConcepts 7
th
Edition, Jan 14, 2005
API
API
–
–
System Call
System Call
–
–
OS Relationship
OS Relationship
2.42
Silberschatz, Galvin and Gagne â2005
Operating System Concepts...
... 3.4
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 7, 2006
Process in Memory
Process in Memory
3.39
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts ... 3.22
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 7, 2006
Process Termination
Process Termination
Process executes last statement and asks the operatingsystem ... 3.6
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 7, 2006
Diagram of Process State
Diagram of Process State
3.15
Silberschatz, Galvin and Gagne â2005
Operating...
... 4.9
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
edition, Jan 23, 2005
Many
Many
-
-
to
to
-
-
One Model
One Model
4.15
Silberschatz, Galvin and Gagne â2005
Operating System ... 4.13
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
edition, Jan 23, 2005
Many
Many
-
-
to
to
-
-
Many Model
Many Model
4.10
Silberschatz, Galvin and Gagne â2005
Operating System ... â2005
Operating SystemConcepts 7
th
edition, Jan 23, 2005
Two
Two
-
-
level Model
level Model
4.8
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
edition, Jan 23, 2005
Many
Many
-
-
to
to
-
-
One
One
...
... 6.32
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 8, 2005
Schematic view of a Monitor
Schematic view of a Monitor
6.39
Silberschatz, Galvin and Gagne â2005
Operating ... Linux provides:
z semaphores
z spin locks
6.47
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 8, 2005
System Model
System Model
Assures that operations happen ... contents of two memory words
6.46
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 8, 2005
Atomic Transactions
Atomic Transactions
System Model
Log-based Recovery
...
... Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 14, 2005
Safe, Unsafe , Deadlock State
Safe, Unsafe , Deadlock State
7.35
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts ... P
4
.
7.19
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 14, 2005
Basic Facts
Basic Facts
If a system is in safe state ⇒ no deadlocks.
If a system is in ... more instances of resource type. R
j
.
7.6
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts - 7
th
Edition, Feb 14, 2005
System Model
System Model
Resource types R
1
, R
2
, ....
... Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 22, 2005
Example of Segmentation
Example of Segmentation
8.37
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, ... special support from the operatingsystem is required
implemented through program design
8.28
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 22, 2005
Paging ... 8.14
Silberschatz, Galvin and Gagne â2005
Operating SystemConcepts 7
th
Edition, Feb 22, 2005
Schematic View of Swapping
Schematic View of Swapping
8.8
Silberschatz, Galvin and Gagne â2005
Operating...