From c66fdb617d38fa20f3f50408f895425702031977 Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sat, 14 Aug 2004 05:00:37 +0000 Subject: [PATCH] Allocate memory in the unwinder with M_NOWAIT. We may need to provide backtraces with locks held. --- sys/ia64/ia64/unwind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/ia64/ia64/unwind.c b/sys/ia64/ia64/unwind.c index a0099c35a4c5..4ee31b200782 100644 --- a/sys/ia64/ia64/unwind.c +++ b/sys/ia64/ia64/unwind.c @@ -107,7 +107,7 @@ unw_alloc(size_t sz) return (void*)(hdr + 1); } #endif - return (malloc(sz, M_UNWIND, M_WAITOK)); + return (malloc(sz, M_UNWIND, M_NOWAIT)); } static void