monolithic kernel design - bowdoin collegesbarker/teaching/courses/os/18spring/lec… · monolithic...

Post on 13-Jul-2020

1 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Sean Barker

Monolithic Kernel Design

1

Sean Barker

Layered OS Design

2

User programs

Device drivers

Virtual memory

I/O channel

CPU scheduler

Hardware

Sean Barker

Microkernel Design

3

Sean Barker

Hybrid Design in Mac OS

4

Sean Barker

Modular Design

5

Sean Barker

Processes

6

Memory

I/O

Processor Processes, scheduling, synchronization

Allocation, protection, virtual memory

Disk management, filesystems, networking

Hardware OS Services

Sean Barker

Process Execution States

7

Process State

Sean Barker

Process Control Block (PCB)

8

Process Control Block (PCB)

Process State

PC

CPU registers

CPU scheduling info

List of open files

...

Sean Barker

State Queues

9

Sean Barker

Context Switching

10

Sean Barker

Process Creation

11

Sean Barker

Process Communication

12

Sean Barker

Summary: Processes

•Execution state of a program

•Lifecycle states

•OS representation

•Creation

•Communication

13

top related