CVS commit: src
"Taylor R Campbell" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: riastradh Date: Sun Aug 16 21:53:21 UTC 2026 Modified Files: src/sys/ddb: db_command.c db_extern.h src/usr.sbin/crash: crash.c Log Message: ddb(4), crash(8): Make `show all locks' work without LOCKDEBUG. Any lwp currently waiting for a _contended_ lock will now record a pointer to that lock in struct lwp::l_ld_wanted, even without LOCKDEBUG. We can't tell who holds shared locks or spin locks, but we can at least tell what lock a thread is waiting for when it's spinning for a spin lock, and generally present the graph of current lock dependencies reasonably well this way. PR kern/60030: ddb/crash: show all locks without LOCKDEBUG To generate a diff of this commit: cvs rdiff -u -r1.193 -r1.194 src/sys/ddb/db_command.c cvs rdiff -u -r1.17 -r1.18 src/sys/ddb/db_extern.h cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/crash/crash.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.