Kernel Flashcards

1
Q

where does the kernel reside and with what?

A

in protected space

alongside process manager, scheduler, IPC, exception handlers, resource managers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how does the user space connect with the kernel

A

system calls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does the kernel do

A

it is responsible for implementing mechanisms and there is debate over whether it should be responsible for policy too

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

describe the difference between mechanism and policy using scheduling

A

scheduling mechanism: the code the saves the context of a process and restores the context of another.

scheduling policy: responsible for when to switch, decides time slicing, priority etc

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the two types of kernel

A

monolithic and microkernel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

describe a monolithic kernel

A

everything is included in the kernel and runs in the privileged mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are the disadvantages of a monolithic kernel

A

size- code begins to bloat as it develops

reliability- a bug will crash the whole system

portability- it is system specific

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a micro kernel

A

kernel contains handlers which need to be privileged but functions that do not are user mode processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

give examples of user mode processes in a micro kernel

A

filing system

GUI

device drivers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what are the disadvantages of a micro kernel

A

speed- there is a need for more communications (system calls) that leads to a greater overhead

complexity- greater complexity gives more potential for problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly