Linux Locking and RCU
Official docs outline
10 sections- Locking index
Kernel locking primitives overview.
- Lock types and their rules
Spinlocks, mutexes and PREEMPT_RT behavior.
- Lockdep design
Lock class validation and deadlock detection.
- Mutex design
Optimistic spinning and mutex fast paths.
- Seqlock
Sequence counters and writer locks.
- Memory barriers
Memory ordering guarantees and barriers.
- RCU concepts
Read-copy-update read side and grace periods.
- RCU whatisRCU
API walkthrough of RCU primitives.
- RCU checklist
Rules for correct RCU use including rcu_read_lock, rcu_dereference and synchronize_rcu.
- Futex requeue PI
Priority inheritance futex requeue.
Each section links to the official page. Titles and summaries by Extra Credit; the docs belong to their authors.