summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_page.c
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-10-15 03:16:45 +0000
committerdyson <dyson@FreeBSD.org>1996-10-15 03:16:45 +0000
commit4af9184e0bea01af54e4f4eea2e0c9564f86df2e (patch)
treec9194db409b09e876921cd1dea089c7bb1a5c7d2 /sys/vm/vm_page.c
parent4b6e5c4c291e78bbabf104576e9ee98db0f7459c (diff)
downloadFreeBSD-src-4af9184e0bea01af54e4f4eea2e0c9564f86df2e.zip
FreeBSD-src-4af9184e0bea01af54e4f4eea2e0c9564f86df2e.tar.gz
Move much of the machine dependent code from vm_glue.c into
pmap.c. Along with the improved organization, small proc fork performance is now about 5%-10% faster.
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r--sys/vm/vm_page.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c
index c145486..ebf49e4 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.67 1996/10/06 18:27:39 dyson Exp $
+ * $Id: vm_page.c,v 1.68 1996/10/12 20:09:48 bde Exp $
*/
/*
@@ -684,9 +684,6 @@ vm_page_select_free(object, pindex, prefqueue)
#if PQ_L2_SIZE > 1
index = pindex + object->pg_color;
- /*
- * These are special cased because of clock-arithemetic
- */
for(j = 0; j < PQ_L1_SIZE; j++) {
for(i = (PQ_L2_SIZE/2) - (PQ_L1_SIZE - 1);
(i + j) >= 0;
OpenPOWER on IntegriCloud