Outline for April 1, 2022
Reading
:
text
, §3–6
Assignments
: Homework and Extra Credit 1, due Apr 11
Operating system overview
I/O functions
Read data: polling, interrupts
Direct memory access (DMA)
Process functions
Create, delete, schedule
Synchronize, communicate
Memory functions
Share memory among many processes: address transformation
Memory management
Secondary storage functions
Space management and addressing
When to move data; scheduling
User interface functions
Enable users to run processes easily
Other desirable features
Efficient
Reliable
Maintainable
Small
Process as an abstraction
Process is representation of a program executing
Address space
State information (frame, stack pointer, etc.)
resources
CPU virtualized, so process thinks only it is using the CPU
Scheduling policy decides which process gets CPU, and for how long
Process APIs
Create process (
fork()
), delete process (
_exit()
), pause process (
wait()
,
waitpid()
)
Miscellaneous process control
Process status
Process status
Process table entry
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
ECS 150, Operating Systems
Version of April 1, 2022 at 12:42AM
You can also obtain a PDF version of this.