Tag

lockdep

0 views collected around this technical thread.

Didi Tech
Didi Tech
Sep 3, 2019 · Fundamentals

General Deadlock Prediction Algorithm for Linux Kernel Read‑Write Locks

The paper reverse‑engineers Linux’s Lockdep and introduces a universal deadlock prediction algorithm that treats mutexes as write‑locks of read‑write locks, using a two‑thread model and indirect‑dependency analysis to accurately detect potential deadlocks in complex rwlock scenarios.

Linux kernelconcurrencydeadlock
0 likes · 18 min read
General Deadlock Prediction Algorithm for Linux Kernel Read‑Write Locks