EECE-4029 Operating Systems Fall 2016
Kernel Modules

processes, mutex, semaphores, memory management, producer-consumer, files, deadlock, more..

Sample code and documentation

modules.tar     All the code and documentation in a tar file
Makefile     Make all the code below with this
tester_1.c     Make a kernel module
tester_2.c     Add a few tweaks plus annotations a license
tester_3.c     Module parameters
tester_4.c     Communicate from user space via the proc file system
tester_5.c     Use a timer to defer work
tester_6.c     Kernel threads in the module
tester_7.c     Use a work queue to defer work
kernel.html     Kernel considerations
guide     Kernel module programming guide (old but useful)
makefile     Makefile design details
module notes     Lecture notes pertaining to the above seven modules
procfs     The proc file system - interface to the running kernel
timer functions     Timer setup, modification, deletion
work queue     Work queue to defer/offload work