diff options
Diffstat (limited to 'sys/vm/swap_pager.c')
-rw-r--r-- | sys/vm/swap_pager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/swap_pager.c b/sys/vm/swap_pager.c index ce775f8..85ea18e 100644 --- a/sys/vm/swap_pager.c +++ b/sys/vm/swap_pager.c @@ -1594,8 +1594,8 @@ swp_pager_force_pagein(vm_object_t object, vm_pindex_t pindex) vm_page_lock_queues(); vm_page_activate(m); vm_page_dirty(m); - vm_page_wakeup(m); vm_page_unlock_queues(); + vm_page_wakeup(m); vm_pager_page_unswapped(m); return; } @@ -1606,8 +1606,8 @@ swp_pager_force_pagein(vm_object_t object, vm_pindex_t pindex) vm_page_lock_queues(); vm_page_dirty(m); vm_page_dontneed(m); - vm_page_wakeup(m); vm_page_unlock_queues(); + vm_page_wakeup(m); vm_pager_page_unswapped(m); } |