summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pageq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_pageq.c')
-rw-r--r--sys/vm/vm_pageq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_pageq.c b/sys/vm/vm_pageq.c
index 85dd9e5..1b3e9a4 100644
--- a/sys/vm/vm_pageq.c
+++ b/sys/vm/vm_pageq.c
@@ -198,9 +198,9 @@ vm_pageq_add_new_page(vm_paddr_t pa)
m->flags = 0;
m->pc = (pa >> PAGE_SHIFT) & PQ_COLORMASK;
pmap_page_init(m);
- mtx_lock_spin(&vm_page_queue_free_mtx);
+ mtx_lock(&vm_page_queue_free_mtx);
vm_pageq_enqueue(m->pc + PQ_FREE, m);
- mtx_unlock_spin(&vm_page_queue_free_mtx);
+ mtx_unlock(&vm_page_queue_free_mtx);
}
/*
OpenPOWER on IntegriCloud