Kernel Hacking Guides
ΒΆ
Unreliable Guide To Hacking The Linux Kernel
Introduction
The Players
Some Basic Rules
ioctls: Not writing a new system call
Recipes for Deadlock
Common Routines
Wait Queues
include/linux/wait.h
Atomic Operations
Symbols
Routines and Conventions
Putting Your Stuff in the Kernel
Kernel Cantrips
Thanks
Unreliable Guide To Locking
Introduction
The Problem With Concurrency
Locking in the Linux Kernel
Hard IRQ Context
Cheat Sheet For Locking
The trylock Functions
Common Examples
Common Problems
Locking Speed
What Functions Are Safe To Call From Interrupts?
Mutex API reference
Futex API reference
Further reading
Thanks
Glossary
The Linux Kernel
6.2.0
Quick search
This Page
Show Source