Article 61VRE Vetter: Locking Engineering Principles

Vetter: Locking Engineering Principles

by
corbet
from LWN.net on (#61VRE)
Daniel Vetter offers someadvice for developers of locking schemes in the kernel.

Validating locking by hand against all the other locking designsand nesting rules the kernel has overall is nigh impossible,extremely slow, something only few people can do with any chance ofsuccess and hence in almost all cases a complete waste of time. Weneed tools to automate this, and in the Linux kernel this islockdep.

Therefore if lockdep doesn't understand your locking design yourdesign is at fault, not lockdep. Adjust accordingly.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments