Date: Mon, 20 May 2002 10:54:48 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm uma_core.c Message-ID: <200205201754.g4KHsnS42281@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/05/20 10:54:48 PDT
Modified files:
sys/vm uma_core.c
Log:
In uma_zalloc_arg(), if we are performing a M_WAITOK allocation, ensure
that td_intr_nesting_level is 0 (like malloc() does). Since malloc() calls
uma we can probably remove the check in malloc() for this now. Also,
perform an extra witness check in that case to make sure we don't hold
any locks when performing a M_WAITOK allocation.
Revision Changes Path
1.25 +7 -0 src/sys/vm/uma_core.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205201754.g4KHsnS42281>
