Author: mmacy Date: Thu May 24 01:03:31 2018 New Revision: 334124 URL: https://svnweb.freebsd.org/changeset/base/334124
Log: malloc: Add flag for conditionally zeroing for INVARIANTS builds Modified: head/sys/sys/malloc.h Modified: head/sys/sys/malloc.h ============================================================================== --- head/sys/sys/malloc.h Thu May 24 00:06:55 2018 (r334123) +++ head/sys/sys/malloc.h Thu May 24 01:03:31 2018 (r334124) @@ -59,6 +59,13 @@ #define M_MAGIC 877983977 /* time when first defined :-) */ +#ifdef INVARIANTS +#define M_ZERO_INVARIANTS M_ZERO +#else +#define M_ZERO_INVARIANTS 0 +#endif + + /* * Two malloc type structures are present: malloc_type, which is used by a * type owner to declare the type, and malloc_type_internal, which holds _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"