summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2002-07-23 02:42:25 +0000
committeralc <alc@FreeBSD.org>2002-07-23 02:42:25 +0000
commitcba25d9833a3741fb4d9269f565147f14f74f153 (patch)
tree8844aece174c2564e5a176d018e27ac7e173e447 /sys/vm
parent249ad7ccdbe7f8743ffc961a2d41e284e161a7b0 (diff)
downloadFreeBSD-src-cba25d9833a3741fb4d9269f565147f14f74f153.zip
FreeBSD-src-cba25d9833a3741fb4d9269f565147f14f74f153.tar.gz
o Extend the scope of the page queues lock in vm_pageout_scan()
to cover the traversal of the cache queue.
Diffstat (limited to 'sys/vm')
-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