From 2e735948978c6bae8d971ddacece7df859d3bf9d Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 14 Aug 2004 05:00:37 +0000 Subject: 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(-) (limited to 'sys/ia64') diff --git a/sys/ia64/ia64/unwind.c b/sys/ia64/ia64/unwind.c index a0099c3..4ee31b2 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 -- cgit v1.1