Allocate memory in the unwinder with M_NOWAIT. We may need to provide
backtraces with locks held.
This commit is contained in:
parent
57b665990a
commit
c66fdb617d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=133711
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user