Transcript Week 2

2P13
Week 2
Page 1
Page 2
Page 3
Page 4
Table 3.1 Reasons for
Process Creation

Click to edit the outline text
format

Second Outline Level

Third Outline Level

Fourth Outline
Level


5

Fifth Outline
Level
Sixth Outline
Level
Seventh
Outline Level
1/15/12
Table 3.2
Reasons for
Process
Termination
6
1/15/12
Page 7
Page 8
Page 9
Page 10
Page 11
Page 12
Page 13
Typical
Elements
of a Process
Control Block
Page 14
Page 15
Page 16
Table 3.7 Typical Functions of an Operating System Kernel
Process Management
•Process creation and termination
•Process scheduling and dispatching
•Process switching
•Process synchronization and support for interprocess communication
•Management of process control blocks
Memory Management
•Allocation of address space to processes
•Swapping
•Page and segment management
I/O Management
•Buffer management
•Allocation of I/O channels and devices to processes
Support Functions
•Interrupt handling
•Accounting
•Monitoring
Page 17
Table 3.8 Mechanisms for Interrupting the Execution of a Process
Mechanism
Cause
Use
Interrupt
External to the execution of the
current instruction
Reaction to an asynchronous external
event
Trap
Associated with the execution of the
current instruction
Handling of an error or an exception
condition
Supervisor call
Explicit request
Call to an operating system function
Page 18
Page 19
Page 20
Page 21
Page 22
The End
Page 23