| Week # | Class date | Assignment Due | Topic |
|---|---|---|---|
| 0x0 | 09/01 | introductions, syllabus, what is linux? | |
| 0x1 | 09/08 | setup | architecture specific code, interrupts & exceptions, MMIO |
| 0x2 | 09/15 | new syscall | threads and processes, interprocess communication |
| 0x3 | 09/22 | shell midpoint | execution contexts, userspace vs kernelspace |
| 0x4 | 09/29 | first_module | symmetric multiprocessing, locking, scheduling |
| 0x5 | 10/06 | virtual memory, page tables, memory protection | |
| 0x6 | 10/13 | class is cancelled - tuesday follows monday schedule | |
| 0x7 | 10/20 | page walk | kernel modules, modalias, udev, in vs out-of tree development |
| 0x8 | 10/27 | block devices, partition tables, block drivers | |
| 0x9 | 11/03 | block device | generic kernel virtual filesystem code |
| 0xA | 11/10 | file systems, super blocks, inodes | |
| 0xB | 11/17 | filesystem | character drivers, file operations, device numbers |
| 0xC | 11/24 | network devices, address families, protocols | |
| 0xD | 12/01 | specification | live driver debugging exercise |
| 0xE | 12/08 | final presentations | |
| 0xF | 12/14 | character device | NOTE: your one and only final submission is due on MONDAY |
| 0xF | 12/15-17 | final | sessions for presentations during finals week |
We guide students into the depths of the Linux kernel, introducing the concepts, tools, and frameworks necessary to become independent contributors to the Linux kernel in particular and open source software more broadly.
Linux is the most widely used operating system in the world. It powers the world's top supercomputers, every Android phone, and the servers that host the internet's most popular websites. At the core of Linux is a software component called the kernel. It performs critical roles including managing communication with hardware, sharing system resources equitably, and enforcing security constraints. This course will introduce students to Linux kernel development through hands-on experience working with internal Linux kernel APIs and providing an overview of some of the core features and components of the kernel. Students will gain an invaluable perspective on how their computers work behind the scenes. By grasping the inner workings of the operating system and how to make changes to it, they will add a new layer of understanding to their mental model of computation that will pay dividends throughout their future in software engineering.
Students will:
Develop Linux kernel internals knowledge, by:
Building up an understanding up of various kernel subsystems
Creating, developing, and testing interesting and creative Linux kernel modules
Stretching their C programming skills to the limit
Develop the ability to autonomously participate in the open source software community
Demonstrate the ability to explain technical topics in your own words
Learn how to give and receive feedback on code patches
A computer that can run podman
Patience, determination, and an ability to focus on a potentially frustrating task for sustained periods of time
The ability to join a live video call with camera/microphone from that computer (i.e. the necessary equipment and a stable internet connection)
Attendance is required.
Late work will not be accepted.
Generative Artificial Intelligence (GAI) including Large Language Models (LLMs) represent powerful tools that can both nurture and hinder student learning.
The expectation in this class is that all work submitted or presented by the student reflects their own original effort and is created by hand and not directly generated by any tool.
Violations of this policy which aims to enforce responsible AI usage in academic endeavors will be treated seriously in line with the university's Academic Integrity procedures.
If the output of any AI tool was consulted in the preparation of student work, the extent and nature of this contribution must be transparently disclosed, including details like what tools were used, the assistance received, and how it informed the ultimate work product.
AI can serve as a valuable resource for research and gathering background knowledge, but its use should be approached with care.
The line between prompts that ease research and deepen student understanding through surfacing relevant information in a cohesive narrative and prompts that replace critical thinking and opportunities to reinforce class content through independent thinking with rote copying can be blurry and sometimes the best course of action is to avoid GAI / LLMs.
If you do choose to use GAI / LLM technology keep the following questions in mind:
Is the information being provided actually accurate? Can you find a primary source to back it up?
Would you be able to reproduce your findings / creation from memory without looking at the generated output?
It is crucial to thoroughly assess and validate any information produced by AI; doing so by consulting non GAI/LLM sources of information is an important part of using AI responsibly, and can be a good way to ensure that you actually internalize the information surfaced by the tool.
If you have any questions or concerns about using AI tools in this course, please consult with the instructor for guidance.
If a student fails to complete a task by a deadline or fails to attend class with no prior notice, and we do not hear from the student within a week, we reserve the right to give the student a final course grade of F.
| Category | Percentage |
|---|---|
| Programming Assignments | 35% |
| Homework Exercises | 15% |
| Midpoint Presentation | 15% |
| Final Project | 35% |
| Percentage range | Letter grade | Grade points |
|---|---|---|
| 90 ~ 100 | A | 4.0 |
| 85 ~ 89.99 | A- | 3.7 |
| 80 ~ 84.99 | B+ | 3.3 |
| 75 ~ 79.99 | B | 3.0 |
| 70 ~ 74.99 | B- | 2.7 |
| 65 ~ 69.99 | C+ | 2.3 |
| 60 ~ 64.99 | C | 2.0 |
| 55 ~ 59.99 | C- | 1.7 |
| 50 ~ 54.99 | D+ | 1.3 |
| 40 ~ 49.99 | D | 1.0 |
| below 40 | F | 0.0 |
msg = (silence)whoami = Nonesingularity v0.8-13-g02f8b87 https://github.com/underground-software/singularity