diff options
author | dyson <dyson@FreeBSD.org> | 1998-03-08 06:27:30 +0000 |
---|---|---|
committer | dyson <dyson@FreeBSD.org> | 1998-03-08 06:27:30 +0000 |
commit | d3b4226c4ad27767d288d5a2184b49ace9556b51 (patch) | |
tree | 0767a868d6d22addd11c3b3f806691b253e5b121 /sys | |
parent | b99df11fc86156764afe1e022ab35de6967e58a2 (diff) | |
download | FreeBSD-src-d3b4226c4ad27767d288d5a2184b49ace9556b51.zip FreeBSD-src-d3b4226c4ad27767d288d5a2184b49ace9556b51.tar.gz |
Some cruft left over from my megacommit. A page rotation optimization
was a good idea, but can cause instability. That optimization is
now removed.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/vm/vm_page.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index f896666..c8f7517 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.94 1998/03/01 04:18:24 dyson Exp $ + * $Id: vm_page.c,v 1.95 1998/03/07 21:37:13 dyson Exp $ */ /* @@ -1066,11 +1066,6 @@ vm_page_activate(m) m->act_count = ACT_INIT; } - object = m->object; - TAILQ_REMOVE(&object->memq, m, listq); - TAILQ_INSERT_TAIL(&object->memq, m, listq); - object->generation++; - splx(s); } @@ -1323,7 +1318,7 @@ vm_page_deactivate(m) return; s = splvm(); - if (m->wire_count == 0 && m->hold_count == 0) { + if (m->wire_count == 0) { if ((m->queue - m->pc) == PQ_CACHE) cnt.v_reactivated++; vm_page_unqueue(m); |