Unreliable Guide To Hacking The Linux Kernel

Paul Rusty Russell

      rusty@rustcorp.com.au
     


Table of Contents
1. Introduction
2. The Players
User Context
Hardware Interrupts (Hard IRQs)
Software Interrupt Context: Bottom Halves, Tasklets, softirqs
3. Some Basic Rules
4. ioctls: Not writing a new system call
5. Recipes for Deadlock
6. Common Routines
printk() include/linux/kernel.h
copy_[to/from]_user() / get_user() / put_user() include/asm/uaccess.h
kmalloc()/kfree() include/linux/slab.h