diff options
| author | mo khan <mo@mokhan.ca> | 2021-02-08 10:46:22 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2021-02-08 10:46:22 -0700 |
| commit | 116d9d96dd6cffb4b4cae53e23e8a3d29ece604b (patch) | |
| tree | e1069a16d837e229ad584b7978365fcea7241ae0 /doc/assignment1.md | |
| parent | a0fffa265a4e2a2f524fa71043176e86b10d2abd (diff) | |
describe modes of operation
Diffstat (limited to 'doc/assignment1.md')
| -rw-r--r-- | doc/assignment1.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/assignment1.md b/doc/assignment1.md index 353e9f2..75324df 100644 --- a/doc/assignment1.md +++ b/doc/assignment1.md @@ -131,6 +131,16 @@ Instructions: Please answer the following questions in complete sentences. Your The users and clients of the applications see only a brief interruption of service. 1. Describe an operating system's two modes of operation. + + kernel mode: executes tasks on behalf of the operating system. + user mode: executes tasks on behalf of the user. + + Whenever the operating system gains control of the computer, it is in kernel mode. + The dual modes of operation provides a way for protecting the operating system + from malicious behaviour. Instructions that can cause harm are treated as + privileged instructions. Privileged instructions can only be executed in + kernel mode. + 1. Define cache, and explain cache coherency. 1. Describe why direct memory access (DMA) is considered an efficient mechanism for performing I/O. 1. Describe why multicore processing is more efficient than placing each processor on its own chip. |
