diff options
-rw-r--r-- | sys/vm/vm_contig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c index 25d9a3a..f26a8d1 100644 --- a/sys/vm/vm_contig.c +++ b/sys/vm/vm_contig.c @@ -286,9 +286,10 @@ contigmalloc( { void * ret; - GIANT_REQUIRED; + mtx_lock(&Giant); ret = contigmalloc1(size, type, flags, low, high, alignment, boundary, kernel_map); + mtx_unlock(&Giant); return (ret); } |