summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2004-07-10 22:12:49 +0000
committerAlan Cox <alc@FreeBSD.org>2004-07-10 22:12:49 +0000
commit790bdd0f2ebc4564580ae0b769c1946586a003ff (patch)
tree6dd1e96531f0d47e43e4cafd4d6b2a706da4cf32
parent6c29a22f1f85a0c353ad191e3fdf1e74da887046 (diff)
Notes
-rw-r--r--sys/vm/vm_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index ad959fea18dc..3a623343bcbb 100644
--- a/sys/vm/vm_page.c
+++ b/sys/vm/vm_page.c
@@ -784,11 +784,11 @@ loop:
*/
vm_page_lock_queues();
if ((m = vm_page_select_cache(color)) == NULL) {
- vm_page_unlock_queues();
#if defined(DIAGNOSTIC)
if (cnt.v_cache_count > 0)
printf("vm_page_alloc(NORMAL): missing pages on cache queue: %d\n", cnt.v_cache_count);
#endif
+ vm_page_unlock_queues();
atomic_add_int(&vm_pageout_deficit, 1);
pagedaemon_wakeup();
return (NULL);