summaryrefslogtreecommitdiff
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/vm_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm/vm_page.c b/vm/vm_page.c
index 567f23f3..433c3034 100644
--- a/vm/vm_page.c
+++ b/vm/vm_page.c
@@ -2036,7 +2036,7 @@ again:
* Keep in mind eviction may not cause pageouts, since non-precious
* clean pages are simply released.
*/
- if ((vm_page_external_pagedout == 0) || (vm_page_laundry_count == 0)) {
+ if ((vm_page_external_pagedout == 0) && (vm_page_laundry_count == 0)) {
/*
* No pageout, but some clean pages were freed. Start a complete
* scan again without waiting.