diff options
| author | Jonathan T. Looney <jtl@FreeBSD.org> | 2026-01-17 01:20:26 +0000 |
|---|---|---|
| committer | Jonathan T. Looney <jtl@FreeBSD.org> | 2026-01-26 20:22:57 +0000 |
| commit | fb4b0c91195195561560bb2fb2c1ba8da81f7ccf (patch) | |
| tree | 1605596df3ca35eecc24254980fbc2415181386e /release/doc/ru_RU.KOI8-R/relnotes/pc98/ssh:/git@gitrepo.FreeBSD.org/(developers-only) | |
| parent | fe962e33d86f888b496b17251c8bedebf92be8ee (diff) | |
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 'release/doc/ru_RU.KOI8-R/relnotes/pc98/ssh:/git@gitrepo.FreeBSD.org/(developers-only)')
0 files changed, 0 insertions, 0 deletions
