aboutsummaryrefslogtreecommitdiff
path: root/packages/mac/(public-mirror)
diff options
context:
space:
mode:
authorJonathan T. Looney <jtl@FreeBSD.org>2026-01-17 01:20:26 +0000
committerJonathan T. Looney <jtl@FreeBSD.org>2026-01-26 20:22:57 +0000
commitfb4b0c91195195561560bb2fb2c1ba8da81f7ccf (patch)
tree1605596df3ca35eecc24254980fbc2415181386e /packages/mac/(public-mirror)
parentfe962e33d86f888b496b17251c8bedebf92be8ee (diff)
witness: Provide facility to print detailed lock treeHEADmain
When witness(4) detects lock order reversals (LORs), it prints information about the stack trace which caused the LOR. If available, it can also print information about the first stack trace which established the other lock ordering. However, it only does this for "simple" LORs where the two locks in question were directly locked in the opposite order. When the lock order was established through a more complex pattern of intermediate locks, WITNESS only prints the stack trace where it detected the LOR. This commit provides new functionality to provide more verbose information about the lock chain(s) which established the lock ordering. The new functionality can be disabled by setting the debug.witness.trace sysctl/tunable to 1. The new functionality is also available through the debug.witness.badstacks sysctl, which has been modified to always show the more verbose information. Reviewed by: markj, glebius (previous version), kib (previous version) Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D54785 MFC after: 1 month
Diffstat (limited to 'packages/mac/(public-mirror)')
0 files changed, 0 insertions, 0 deletions