summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-06-06 11:56:27 +0000
committerdg <dg@FreeBSD.org>1994-06-06 11:56:27 +0000
commit0d458db402acc7d2c34e8c125b4091c120cd32b2 (patch)
tree9ad844a49c9cf5dc4fbac052c0b397edffea128a /sys
parent92a5206e4e3a60753dd1a54bd8b37623f04003ca (diff)
downloadFreeBSD-src-0d458db402acc7d2c34e8c125b4091c120cd32b2.zip
FreeBSD-src-0d458db402acc7d2c34e8c125b4091c120cd32b2.tar.gz
Don't move the page's position in the active queue if it is busy or
held. John has noticed some stability problems when doing this.
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_pageout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_pageout.c b/sys/vm/vm_pageout.c
index 202bf03..cb4c1bf 100644
--- a/sys/vm/vm_pageout.c
+++ b/sys/vm/vm_pageout.c
@@ -755,8 +755,6 @@ scanloop:
* Dont mess with pages that are busy.
*/
if ((m->flags & PG_BUSY) || (m->hold_count != 0)) {
- TAILQ_REMOVE(&vm_page_queue_active, m, pageq);
- TAILQ_INSERT_TAIL(&vm_page_queue_active, m, pageq);
m = next;
continue;
}
OpenPOWER on IntegriCloud