summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_pageout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/vm/vm_pageout.c')
-rw-r--r--sys/vm/vm_pageout.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index fe2ee34..7be760f 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -1050,7 +1050,6 @@ rescan0:
}
m = next;
}
- vm_page_unlock_queues();
s = splvm();
/*
@@ -1079,7 +1078,7 @@ rescan0:
cnt.v_dfree++;
}
splx(s);
-
+ vm_page_unlock_queues();
#if !defined(NO_SWAPPING)
/*
* Idle process swapout -- run once per second.
OpenPOWER on IntegriCloud