summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_malloc.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-05-20 17:54:48 +0000
committerjhb <jhb@FreeBSD.org>2002-05-20 17:54:48 +0000
commitd53ecb9f8468a56cdc3909bc769d0da2a91be384 (patch)
tree3fdfe9d4e79dbfc11db77e36b1668b792f25db1c /sys/kern/kern_malloc.c
parent4423d1f90a42798bc7f81936eefbcae74bcb0a63 (diff)
downloadFreeBSD-src-d53ecb9f8468a56cdc3909bc769d0da2a91be384.zip
FreeBSD-src-d53ecb9f8468a56cdc3909bc769d0da2a91be384.tar.gz
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.
Diffstat (limited to 'sys/kern/kern_malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud