slides02 Flashcards
1
Q
3 ways of allowing users to interact with machine
A
- command-line interfaces - most fault tolerant
- graphical user interfaces
- touch screen interfaces
2
Q
system calls
A
- provides an interface to services made available by OS
- computer makes a system call when it makes a request to the OS’ kernel
- mode switch from user mode to kernel mode
- downside: slows down program
3
Q
OS architectures (3)
A
- layered approach
- monolithic structure
- microkernel OS
4
Q
layered approach
A
- layer i only depends on layer i-1 or below
- hard to organize OS like this
5
Q
monolithic structure
A
- no structure
- all functionality thrown into kernel
- user+ kernel in same address space
6
Q
microkernel OS
A
- only basic functions offered by kernel - rest is in user mode
- kernel and user services in different address spaces (isolated)
- isolation: fault tolerant + intercommunication is expensive
7
Q
monolithic kernel vs microkernel
A
- file system always running in a monolithic kernel
- not the case for microkernels - not all components of file system are needed
8
Q
linux system structure
A
- applications interact with the kernel through standard C library
- kernel is monolithic structure in a single address space
- kernel split into modules for dynamic loading
- no message passing btwn modules - they all talk to the core
- core has important functions like CPU scheduling and memory management