Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   riastradh
Date:           Sun Aug 16 21:52:42 UTC 2026

Modified Files:
        src/sys/external/bsd/drm2/linux: linux_rwsem.c linux_ww_mutex.c
        src/sys/kern: kern_lock.c kern_mutex.c kern_rwlock.c
        src/sys/sys: lockdebug.h

Log Message:
kernel: Track what lock each lwp is waiting for without LOCKDEBUG.

This is reasonably cheap -- one extra pointer on the stack, couple
extra stores when _waiting_ (spinning or sleeping) for a _contended_
lock -- and doesn't change the kernel ABI.  Will enable us to get
diagnostics from crash dumps when, e.g., there's a softint deadlock
tripping a heartbeat panic.

PR kern/60030: ddb/crash: show all locks without LOCKDEBUG


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/external/bsd/drm2/linux/linux_rwsem.c
cvs rdiff -u -r1.16 -r1.17 src/sys/external/bsd/drm2/linux/linux_ww_mutex.c
cvs rdiff -u -r1.197 -r1.198 src/sys/kern/kern_lock.c
cvs rdiff -u -r1.112 -r1.113 src/sys/kern/kern_mutex.c
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/kern_rwlock.c
cvs rdiff -u -r1.22 -r1.23 src/sys/sys/lockdebug.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index