Kernel architecture and service entry

Follow one file read through a monolithic kernel and a microkernel, watch a driver crash in each, then see the three ways the CPU enters the kernel. OS foundations, architecture and protection · Operating systems.

A disk driver crashes in the middle of a read. Does the whole computer stop, or only that read? It depends on where the driver runs, and on what pulls the CPU into the kernel in the first place.

What you will learn

  • Count the boundary crossings of one read in a monolithic kernel and in a microkernel
  • Predict how far a driver crash spreads in each design
  • Tell a system call, a fault and an interrupt apart by what runs after the kernel returns

Lesson outline

  1. Where the driver runs
  2. Two kernels, one read
  3. A driver crash in each
  4. Three ways into the kernel
  5. Which instruction runs next

16 minutes · 3 scenes · 0 predict checks · 9 quiz questions

The full lesson is available with Premium.