panic: assertwaitok: non-zero mutex count: 1 Starting stack trace... panic(ffffffff83005338) at panic+0x1ba sys/kern/subr_prf.c:229 assertwaitok() at assertwaitok+0x16f sys/kern/subr_xxx.c:163 mi_switch() at mi_switch+0x2b6 sys/kern/sched_bsd.c:412 yield() at yield+0x61 sys/kern/sched_bsd.c:320 pool_get(ffffffff83524830,1) at pool_get+0x1e9 sys/kern/subr_pool.c:589 uvm_mapent_alloc(fffffd807b7c5dc8,0) at uvm_mapent_alloc+0x35a uvm_unmap_remove(fffffd807b7c5dc8,20000000,20400000,ffff80002a588f08,0,1,d180bbc2bae706bb) at uvm_unmap_remove+0x58b sys/uvm/uvm_map.c:1982 uvm_mapanon(fffffd807b7c5dc8,ffff80002a589118,400000,0,3090713) at uvm_mapanon+0x5f9 sys/uvm/uvm_map.c:805 uvm_mmapanon(fffffd807b7c5dc8,ffff80002a589118,400000,3,7,5012,7f2aca9fa1ad234c,5012) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff8000376af980,ffff80002a589290,ffff80002a5891e0) at sys_mmap+0xaa4 sys/uvm/uvm_mmap.c:421 syscall(ffff80002a589290) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xb120d350360, count: 245 End of stack trace.