summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorflipk <flipk@cvs.openbsd.org>1997-04-05 21:24:49 +0000
committerflipk <flipk@cvs.openbsd.org>1997-04-05 21:24:49 +0000
commit15812ac8833e317334fbbda62b6b235bea7dab34 (patch)
tree8b6d33c90405c3212b9d00ae34ff286dbc4de77b /sys/arch/i386
parentbb93359ccedae9a32facea758712506a0fe8f3d4 (diff)
do not up wiring count for page tables (especially those actually
owned by the kernel pmap). Chuck Cranor (chuck@maria.wustl.edu) and Theo.
Diffstat (limited to 'sys/arch/i386')
-rw-r--r--sys/arch/i386/i386/trap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/arch/i386/i386/trap.c b/sys/arch/i386/i386/trap.c
index 3b881de1436..657fb24791f 100644
--- a/sys/arch/i386/i386/trap.c
+++ b/sys/arch/i386/i386/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.21 1997/04/04 16:14:09 mickey Exp $ */
+/* $OpenBSD: trap.c,v 1.22 1997/04/05 21:24:48 flipk Exp $ */
/* $NetBSD: trap.c,v 1.95 1996/05/05 06:50:02 mycroft Exp $ */
#undef DEBUG
@@ -425,12 +425,6 @@ trap(frame)
if (rv == KERN_SUCCESS) {
if (nss > vm->vm_ssize)
vm->vm_ssize = nss;
- va = trunc_page(vtopte(va));
- /* for page table, increment wiring as long as
- not a page table fault as well */
- if (!v && map != kernel_map)
- vm_map_pageable(map, va, round_page(va+1),
- FALSE);
if (type == T_PAGEFLT)
return;
goto out;