diff options
author | marcel <marcel@FreeBSD.org> | 2004-08-14 05:00:37 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-08-14 05:00:37 +0000 |
commit | 2e735948978c6bae8d971ddacece7df859d3bf9d (patch) | |
tree | 7905edc0045b3215ed9a44005f438ef86fdca7b8 /sys/ia64 | |
parent | 49a8ad2487b2329a538450200f1b1b2d698d6a23 (diff) | |
download | FreeBSD-src-2e735948978c6bae8d971ddacece7df859d3bf9d.zip FreeBSD-src-2e735948978c6bae8d971ddacece7df859d3bf9d.tar.gz |
Allocate memory in the unwinder with M_NOWAIT. We may need to provide
backtraces with locks held.
Diffstat (limited to 'sys/ia64')
-rw-r--r-- | sys/ia64/ia64/unwind.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |