Lecture 06: Wednesday, 19 June 2024

Announcements

  1. P0 initial submission: due next week

  2. Take note of the style requirements in procedures

    1. Check your patches with the kernel tree's checkpatch.pl as described in our procedures and policies

Review

In L05, we went over the following:

  1. Execution contexts

  2. Define kernelspace and userspace

  3. Kernel representation of a process or thread

  4. What do we want out of a system call?


Lecture overview

  1. The 5 steps of a system call

    1. Userspace invocation

    2. Hardware raises privileges and enters kernel

    3. Kernel handler

    4. Hardware lowers privileges and enters userspace

    5. Userspace continues


Slides

Available here


msg = (silence)
whoami = None
singularity v0.4 (staging) https://github.com/underground-software/singularity