Date: Fri, 18 Jul 2003 09:04:36 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200307181604.h6IG4aBR027350@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/07/18 09:04:36 PDT FreeBSD src repository Modified files: sys/vm uma_core.c Log: When INVARIANTS is defined make sure that uma_zalloc_arg (and hence uma_zalloc) is called with exactly one of either M_WAITOK or M_NOWAIT and that it is called with neither M_TRYWAIT or M_DONTWAIT. Print a warning if anything is wrong. Default to M_WAITOK of no flag is given. This is the same test as in malloc(9). Revision Changes Path 1.61 +20 -0 src/sys/vm/uma_core.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307181604.h6IG4aBR027350>