Extra Credit

Linux Locking and RCU

Official docs outline

10 sections
  1. Locking index

    Kernel locking primitives overview.

  2. Lock types and their rules

    Spinlocks, mutexes and PREEMPT_RT behavior.

  3. Lockdep design

    Lock class validation and deadlock detection.

  4. Mutex design

    Optimistic spinning and mutex fast paths.

  5. Seqlock

    Sequence counters and writer locks.

  6. Memory barriers

    Memory ordering guarantees and barriers.

  7. RCU concepts

    Read-copy-update read side and grace periods.

  8. RCU whatisRCU

    API walkthrough of RCU primitives.

  9. RCU checklist

    Rules for correct RCU use including rcu_read_lock, rcu_dereference and synchronize_rcu.

  10. 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.

All 29