panic: assertwaitok: non-zero mutex count: 1 Starting stack trace... panic(ffffffff83000b76) 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(ffffffff83594c30,1) at pool_get+0x1e9 sys/kern/subr_pool.c:589 uvm_mapent_alloc(fffffd806c22ddd0,80713) at uvm_mapent_alloc+0x35a uvm_map_fix_space(fffffd806c22ddd0,fffffd806a61d8f8,36968e28000,36b7521b000,80713) at uvm_map_fix_space+0x445 sys/uvm/uvm_map.c:5052 uvm_map_freelist_update(fffffd806c22ddd0,ffff80002bfdb318,36968dea000,36b68dea000,7c69be6a1000,7c69c07a1000,704dac073b08f8df) at uvm_map_freelist_update+0x1b9 sys/uvm/uvm_map.c:4937 uvm_map_vmspace_update(fffffd806c22ddd0,ffff80002bfdb318,80713) at uvm_map_vmspace_update+0x1e6 sys/uvm/uvm_map.c:4809 uvm_mapanon(fffffd806c22ddd0,ffff80002bfdb528,3000,1000,80713) at uvm_mapanon+0x651 uvm_mmapanon(fffffd806c22ddd0,ffff80002bfdb528,3000,3,7,1002,9e5c386e0b485d14,1002) at uvm_mmapanon+0x1d0 sys/uvm/uvm_mmap.c:1019 sys_mmap(ffff80002a4d0a38,ffff80002bfdb6a0,ffff80002bfdb5f0) at sys_mmap+0xaa4 sys/uvm/uvm_mmap.c:421 syscall(ffff80002bfdb6a0) at syscall+0x97e sys/arch/amd64/amd64/trap.c:577 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7c69c07a0a80, count: 243 End of stack trace.