Vetter: Locking Engineering Principles
Validating locking by hand against all the other locking designs and nesting rules the kernel has overall is nigh impossible, extremely slow, something only few people can do with any chance of success and hence in almost all cases a complete waste of time. We need tools to automate this, and in the Linux kernel this is lockdep.Therefore if lockdep doesn’t understand your locking design your design is at fault, not lockdep. Adjust accordingly.
Posted Jul 28, 2022 17:20 UTC (Thu)
by JesseW (subscriber, #41816)
[Link]
Informative!
