Allocate memory in the unwinder with M_NOWAIT. We may need to provide

backtraces with locks held.
This commit is contained in:
Marcel Moolenaar 2004-08-14 05:00:37 +00:00
parent 57b665990a
commit c66fdb617d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133711

View File

@ -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