--- - branch: MAIN date: Fri Dec 31 14:19:57 UTC 2021 files: - new: '1.163' old: '1.162' path: src/sys/dev/wscons/wsdisplay.c pathrev: src/sys/dev/wscons/wsdisplay.c@1.163 type: modified - new: '1.291' old: '1.290' path: src/sys/kern/subr_autoconf.c pathrev: src/sys/kern/subr_autoconf.c@1.291 type: modified - new: '1.16' old: '1.15' path: src/sys/kern/subr_psref.c pathrev: src/sys/kern/subr_psref.c@1.16 type: modified - new: '1.8' old: '1.7' path: src/sys/kern/subr_thmap.c pathrev: src/sys/kern/subr_thmap.c@1.8 type: modified - new: '1.144' old: '1.143' path: src/sys/lib/libkern/libkern.h pathrev: src/sys/lib/libkern/libkern.h@1.144 type: modified id: 20211231T141957Z.fc575cd116463017520999dd1efc6bbc29858cd1 log: | libkern: Make KASSERT verify expression is valid if !DIAGNOSTIC. This way it is no longer necessary to mark variables __diagused if they are used in KASSERT conditions. Fix fallout from this by removing now-unnecessary and `#ifdef DIAGNOSTIC'. Don't do the same for KDASSERT if !DEBUG -- unlike KASSERT and DIAGNOSTIC, variables needed by KDASSERT and DEBUG are likely to be expensive to compute (and potentially difficult for a compiler to prove flushable), so we don't want to require them under !DEBUG. module: src subject: 'CVS commit: src/sys' unixtime: '1640960397' user: riastradh