diff options
Diffstat (limited to 'sys/i386/i386/pmap.c')
-rw-r--r-- | sys/i386/i386/pmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 612d947..7b51b92 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -1268,6 +1268,7 @@ pmap_release_free_page(pmap_t pmap, vm_page_t p) if (vm_page_sleep_busy(p, FALSE, "pmaprl")) return 0; + vm_page_lock_queues(); vm_page_busy(p); /* @@ -1298,6 +1299,7 @@ pmap_release_free_page(pmap_t pmap, vm_page_t p) p->wire_count--; cnt.v_wire_count--; vm_page_free_zero(p); + vm_page_unlock_queues(); return 1; } |