Now
MAIN commitmail json YAML
src/sys/dev/wscons/wsdisplay.c@1.163
/
diff
/
nxr@1.163
src/sys/kern/subr_autoconf.c@1.291 / diff / nxr@1.291
src/sys/kern/subr_psref.c@1.16 / diff / nxr@1.16
src/sys/kern/subr_thmap.c@1.8 / diff / nxr@1.8
src/sys/lib/libkern/libkern.h@1.144 / diff / nxr@1.144
src/sys/kern/subr_autoconf.c@1.291 / diff / nxr@1.291
src/sys/kern/subr_psref.c@1.16 / diff / nxr@1.16
src/sys/kern/subr_thmap.c@1.8 / diff / nxr@1.8
src/sys/lib/libkern/libkern.h@1.144 / diff / nxr@1.144
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.
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.