CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2019/04/23 07:35:13
Modified files: sys/arch/hppa/hppa: lock_machdep.c mutex.c sys/arch/hppa/include: mplock.h sys/arch/m88k/m88k: mutex.S sys/arch/sparc64/sparc64: mutex.S sys/dev/pci/drm/include/linux: completion.h spinlock.h wait.h sys/kern : kern_lock.c kern_rwlock.c kern_synch.c kern_timeout.c subr_pool.c subr_witness.c sys/sys : _lock.h mplock.h mutex.h rwlock.h systm.h witness.h sys/uvm : uvm_map.c Log message: Remove file name and line number output from witness(4) Reduce code clutter by removing the file name and line number output from witness(4). Typically it is easy enough to locate offending locks using the stack traces that are shown in lock order conflict reports. Tricky cases can be tracked using sysctl kern.witness.locktrace=1 . This patch additionally removes the witness(4) wrapper for mutexes. Now each mutex implementation has to invoke the WITNESS_*() macros in order to utilize the checker. Discussed with and OK dlg@, OK mpi@