From a0c5a4143766390ba8bd2732f807f3401840354c Mon Sep 17 00:00:00 2001 From: flipk Date: Sat, 5 Apr 1997 21:24:48 +0000 Subject: [PATCH] do not up wiring count for page tables (especially those actually owned by the kernel pmap). Chuck Cranor (chuck@maria.wustl.edu) and Theo. --- sys/arch/i386/i386/trap.c | 8 +------- 1 file changed, 1 insertion(+), 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; -- 2.20.1