The Linux Kernel
4.13.0-rc4
The Linux kernel user’s and administrator’s guide
The Linux kernel user-space API guide
Working with the kernel development community
Development tools for the kernel
How to write kernel documentation
Kernel Hacking Guides
Unreliable Guide To Hacking The Linux Kernel
Unreliable Guide To Locking
The Linux driver implementer’s API guide
Core API Documentation
Linux Media Subsystem Documentation
Linux Networking Documentation
The Linux Input Documentation
Linux GPU Driver Developer’s Guide
Security Documentation
Linux Sound Subsystem Documentation
Linux Kernel Crypto API
Linux Filesystems API
SuperH Interfaces Guide
Korean translations
Chinese translations
Japanese translations
The Linux Kernel
Docs
»
Kernel Hacking Guides
View page source
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